types / mysql2

Typings for https://github.com/sidorares/node-mysql2
ISC License
41 stars 23 forks source link

Fixes for build error #49

Closed dctrotz closed 3 years ago

dctrotz commented 4 years ago

The errors fixed: 
index.d.ts: Cannot find namespace 'NodeJS'. ts(2503) [24,35] Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i @types/node. ts(2580) [66,22]

dctrotz commented 4 years ago

@unional I am not sure if you saw this. It is a minor PR.

unional commented 4 years ago

Hi @dctrotz I need to find some time to test this. Thanks for the PR.

🌷

unional commented 3 years ago

When I try to build, I get some additional errors because typings is deprecated. I'll do some major update to the project instead.

Thanks for the PR thou. 🌷