From 3c0d14d033c290f5cc273df89e4e4609f1c6cb8c Mon Sep 17 00:00:00 2001 From: Andrey Mokeev Date: Fri, 10 Jan 2020 07:44:26 +0300 Subject: [PATCH] fixes typings (possibly closes #9) --- .gitignore | 2 ++ es6/index.d.ts | 2 +- es6/react.d.ts | 2 +- react.d.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 66c9eae..b112b09 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,5 @@ yarn.lock # generated files index.js react.js + +.idea diff --git a/es6/index.d.ts b/es6/index.d.ts index 0fc8d3b..c7eb9c7 100644 --- a/es6/index.d.ts +++ b/es6/index.d.ts @@ -1,2 +1,2 @@ -const equal: (a: any, b: any) => boolean; +declare const equal: (a: any, b: any) => boolean; export = equal; diff --git a/es6/react.d.ts b/es6/react.d.ts index 0fc8d3b..c7eb9c7 100644 --- a/es6/react.d.ts +++ b/es6/react.d.ts @@ -1,2 +1,2 @@ -const equal: (a: any, b: any) => boolean; +declare const equal: (a: any, b: any) => boolean; export = equal; diff --git a/react.d.ts b/react.d.ts index 0fc8d3b..c7eb9c7 100644 --- a/react.d.ts +++ b/react.d.ts @@ -1,2 +1,2 @@ -const equal: (a: any, b: any) => boolean; +declare const equal: (a: any, b: any) => boolean; export = equal;