UNPKG

306 BTypeScriptView Raw
1export declare function invalidKeys(object: Record<string, any>, list: string[]): string[] | null;
2export declare function listInList<T extends string>(input: string[], model: T[]): input is T[];
3export declare function allKeysInList<K extends string>(object: Record<string, any>, model: K[]): boolean;