Let\'s say I have an interface:
interface IUser { email: string; id: number; phone: string; };
Then I have a function that expects a
Typescript now supports partial types.
The correct way to create a partial type is:
type PartialUser = Partial;