You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the package using the npm prefix and am able to import it just fine. When I try to run any query on my database connection I'm getting a typescript error "Property 'query' does not exist on type 'Connection'".
I looked at the example in this repo as well as the official mysql2 documentation and I can't figure out what I'm doing wrong.
Hi,
I want to use the mysql2 npm package with Deno 2.
I installed the package using the npm prefix and am able to import it just fine. When I try to run any query on my database connection I'm getting a typescript error "Property 'query' does not exist on type 'Connection'".
I looked at the example in this repo as well as the official mysql2 documentation and I can't figure out what I'm doing wrong.
deno.json
main.ts
If I did something wrong during my setup, then I'm really sorry. It's my first time using Deno 2.
Cheers,
Thomas
The text was updated successfully, but these errors were encountered: