PartialWithRequired

Example values

TypeScript
keyof T> = {
[P in K]: T[P];
} & {
[P in Exclude<keyof T, K>]?: T[P];
}

Community questions