Closed Arlen22 closed 4 years ago
Required keys should be
export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Requireable<infer T> ? never : Exclude<V[K], undefined> extends Validator<infer T> ? K : never }[keyof V];
This is a TypeScript type. This repo does not contain any TS types; you'll want to file an issue in DefinitelyTyped instead.
Required keys should be