-
Notifications
You must be signed in to change notification settings - Fork 118
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 typescript declaration for better code completion #122
base: master
Are you sure you want to change the base?
Conversation
Wow, never thought of a PR like this. I guess I have to learn Typescript first ... |
Well, In fact, typescript declaration won't take any effect to runtime. It only provides type declaration in typescript compilation. Javascript can use the type declaration that provides more accurate code completion. So this should be merged safely. |
These declarations look good to me, we can meet to see it in detail. |
But to do it in the right way, we should create another library just with types, like @types/zongji |
The types look nice, should we add a PR for the @vlasky/zongji repo instead of this one? That one also supports MySQL 8.0+ and is a fresher version of this package. LMK your thoughts. |
Added an issue in that repo: vlasky#5 |
No description provided.