Skip to content
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

Add types declaration path to allow type discovery #113

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

nick-w-nick
Copy link
Contributor

Currently, due to the missing types property in the package.json, this module causes an error in TypeScript since it cannot find the types, as shown in the screenshot below:

image

This issue is easily resolved by adding the relative path to the module typings to the package.json via the types property.

@matt200-ok matt200-ok merged commit b1fd38e into Picovoice:main Nov 25, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants