Skip to content

Commit 45bce1f

Browse files
committed
fix(ts-definition): fix definition for autoEffect and clearEffect
1 parent ac78b3c commit 45bce1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module '@risingstack/react-easy-state' {
2-
import { ComponentType } from 'react';
2+
import { ComponentType, DependencyList } from 'react';
33

44
// takes an object (optionally), wraps it in a transparent proxy and returns the proxy
55
function store<Store extends object>(obj?: Store): Store;

0 commit comments

Comments
 (0)