usehooks icon indicating copy to clipboard operation
usehooks copied to clipboard

index.d.ts out of sync with index.js

Open smonroe4242 opened this issue 9 months ago • 0 comments

Typescript is telling me there are declared methods in @uidotdev/usehooks @2.4.1 that are not available in implementation.

Specifically, index.d.ts declares useSpeech, which was removed from index.js in ea634b32d7cbd8b55cd5b732c8d01155d16dc15d between 2.1.1 and 2.2.0, implying that all versions > 2.2.0 suffer from this problem.

useSpeech was the only thing I tried to use from typescript autocomplete that failed at build time, but I have not checked the rest of the declarations to see if other things are out of sync.

smonroe4242 avatar Apr 26 '24 07:04 smonroe4242