From 45bce1f33ecf211b1ab9cbd4086b0684a5bf87fc Mon Sep 17 00:00:00 2001 From: Peter Czibik Date: Tue, 14 Apr 2020 17:47:57 +0200 Subject: [PATCH] fix(ts-definition): fix definition for autoEffect and clearEffect --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index e0a92fd..0d61cea 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,5 +1,5 @@ declare module '@risingstack/react-easy-state' { - import { ComponentType } from 'react'; + import { ComponentType, DependencyList } from 'react'; // takes an object (optionally), wraps it in a transparent proxy and returns the proxy function store(obj?: Store): Store;