-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.d.ts out of sync with index.js #297
Comments
smonroe4242
added a commit
to smonroe4242/usehooks
that referenced
this issue
Apr 26, 2024
Removes obsolete type definitions around useSpeech hook, which was removed in 2.2.0. Fixes uidotdev#297
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: