index.d.ts out of sync with index.js
smonroe4242 opened this issue · comments
Steven Monroe commented
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 ea634b3 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.