From aac771f6797ea1f380de8fd8dbe002eec3556536 Mon Sep 17 00:00:00 2001 From: Dovydas Navickas Date: Sat, 8 Apr 2017 23:31:59 +0300 Subject: [PATCH] Update index.d.ts --- types/prop-types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/prop-types/index.d.ts b/types/prop-types/index.d.ts index 27d44a159e..4ff5f9faaa 100644 --- a/types/prop-types/index.d.ts +++ b/types/prop-types/index.d.ts @@ -4,9 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -declare type Validator = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null; +type Validator = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null; -declare interface Requireable extends Validator { +interface Requireable extends Validator { isRequired: Validator; }