Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
9
node_modules/json-schema-to-ts/lib/utils/optionalProps.d.ts
generated
vendored
Normal file
9
node_modules/json-schema-to-ts/lib/utils/optionalProps.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Extract the names of an object's optional properties
|
||||
*
|
||||
* @param O Object
|
||||
* @return Property names
|
||||
*/
|
||||
export declare type OptionalProps<O extends Record<string | number | symbol, unknown>> = Exclude<{
|
||||
[K in keyof O]: undefined extends O[K] ? K : never;
|
||||
}[keyof O], undefined>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue