Utility type to make all properties of an object optional.
type Foo = { a: string; b: number;};type Bar = AllOptional<Foo>;// Bar = {// a?: string;// b?: number;// }; Copy
type Foo = { a: string; b: number;};type Bar = AllOptional<Foo>;// Bar = {// a?: string;// b?: number;// };
Generated using TypeDoc
Utility type to make all properties of an object optional.