You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// An example of a type we want to modifytypePerson{
name: string;
hometown: string;
nickname: string;}// Example creating a variable of type Person with an optional "nickname" property.constmyPerson1: OptionalKeys<Person,'nickname'>={name: 'Deandre',hometown: 'Seoul'}// Example doing the same thing with multiple optional properties.constmyPerson2: OptionalKeys<Person,'nickname'|'hometown'>={name: 'Ashley'}