diff --git a/types/prop-types/index.d.ts b/types/prop-types/index.d.ts index b05b6c3c9a..4ff5f9faaa 100644 --- a/types/prop-types/index.d.ts +++ b/types/prop-types/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -type Validator = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null +type Validator = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null; interface Requireable extends Validator { isRequired: Validator;