question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it support typescript?

See original GitHub issue

I don’t see, @types/mysql2. Where is type definition?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bradwscommented, May 25, 2020

As per #952 from @Cl00e9ment I ended up doing the following which worked for me 😃

{
  ...
  "devDependencies": {
    ...
    "@types/mysql2": "git+https://git@github.com/types/mysql2.git"
  }
}

0reactions
LinboLencommented, Oct 15, 2020

personal mark.

  1. mysql2 better than mysql
  2. mysql2 not written with typescript.
  3. prepare statement support
  4. difference from official mysql lib
Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript: JavaScript With Syntax For Types.
TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale. Try TypeScript Now. Online or...
Read more >
TypeScript - Wikipedia
TypeScript is a free and open source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and...
Read more >
Why You Should Use TypeScript - Serokell
TypeScript can support static typing, while JavaScript doesn't.
Read more >
TypeScript Programming with Visual Studio Code
No, the TypeScript language service that ships with Visual Studio 2019 and 2022 isn't compatible with VS Code. You will need to install...
Read more >
What is TypeScript and why should you use it? - Contentful
It means that TypeScript provides all the features and functionalities of JavaScript with some added features. TypeScript compiles to JavaScript ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found