Update index.d.ts

This commit is contained in:
Dovydas Navickas
2017-04-08 23:25:40 +03:00
committed by GitHub
parent 1083a3a50a
commit 7d99ff2df9

View File

@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null
type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null;
interface Requireable<T> extends Validator<T> {
isRequired: Validator<T>;