-
Notifications
You must be signed in to change notification settings - Fork 23
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
npm package name shoud be @types/mysql2 #26
Comments
Now you are installing with |
Never-mind, I just read #13 and I now understand the issue. |
I also read #13 but still don't understand 😄. For example, VSCode will suggest to install |
@borekb I think that's totally fine if all partier are willing to accept. Ultimately it's up to the authors and maintainers how they'd like to maintain the project, and unfortunately, in the past, the DefinitelyTyped mono-repo was hard to be contribute to, be involved with or follow as an unpaid contributor. |
Sure, it's ultimately up to the maintainers, I just thought that maybe there's some other reason why this needs to be a separate repo instead of a folder on DefinitelyTyped, and maybe that was even true in 2017 when it was discussed in #13, I don't know. From my point of view (having a brief experience with contributing to DefinitelyTyped several times over the past few years), I'd say this about it:
In the end, I'm just happy that the types exist 😄. Just wanted to share my experience while we're discussing it. |
Would be nice if this followed conventions. Thumbs up for @types/mysql2 |
I think the maintainer should consider this matter seriously as the package name confuses so many developers (I am obviously one of them) which makes us harder to use this awesome type definition. Fixing this issue will make it so much easier to spread the love from this awesome package to the developers (by the convention command @types/somePackageWithoutTypeDef) in which I believe this is also what the maintainers want! |
Hi, please let me explain this again. It is not up to us that this has to be installed through the syntax This package is not published to The only way to make this into As a side note, now (as of 2020), you don't really need this type definition because @sidorares have added typed definitions directly in I have not use But using the type definition from the source and improve it there is always the best option. Cheers. 🍻 |
npm package name shoud be
@types/mysql2
, instead oftypes/mysql2
.e.g. @types/node, @types/mysql
The text was updated successfully, but these errors were encountered: