shadaj/slinky

Wrong signature for useImperativeHandle

steinybot opened this issue · 0 comments

According to the docs useImperativeHandle ought to have a deps argument.

The TypeScript definition is:

    function useImperativeHandle<T, R extends T>(ref: Ref<T>|undefined, init: () => R, deps?: DependencyList): void;