UNPKG

@blueprintjs/core

Version:
7 lines (6 loc) 249 B
export declare type Validator<K> = (props: { [key: string]: any; }, propName: K, componentName: string, location: string, propFullName: string) => Error | undefined; export declare type ValidationMap<T> = { [K in keyof T]?: Validator<K>; };