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

Is it possible to create a definitions file? #1224

Closed
J-Cake opened this issue Sep 28, 2019 · 5 comments
Closed

Is it possible to create a definitions file? #1224

J-Cake opened this issue Sep 28, 2019 · 5 comments

Comments

@J-Cake
Copy link

J-Cake commented Sep 28, 2019

Webstorm is screaming at me because it doesn't understand C++ modules. In order to fix this, you'd need a definitions file, they're typically defined in typescript and just let WebStorm know what to expect and what each function does, the parameters it takes etc. Just wanted to know if one already exists, if so, how complete is it and if it doesn't, would that be possible please.

Thanks

@kewde
Copy link
Collaborator

kewde commented Sep 30, 2019

Hi @J-Cake

I am happy to accept a pull request with a complete declaration file.

In the meantime, an likely uncomplete declaration file can be found here:
https://www.npmjs.com/package/@types/sqlite3

Good luck.

@J-Cake
Copy link
Author

J-Cake commented Sep 30, 2019

As you mentioned, the package is incomplete, but it is sufficient for my use case. Thank you

@kewde
Copy link
Collaborator

kewde commented Sep 30, 2019

I am happy to accept a pull request with a more complete declaration file.
I will keep this issue open.

@J-Cake
Copy link
Author

J-Cake commented Sep 30, 2019

No Problem. I will look into it, can't guarantee I'll get that done though 😆

@daniellockyer
Copy link
Member

Closing in favor of #809 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants