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
{{ message }}
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Not sure if you have TS support or if that's in the works, but Webstorm complains a lot with this library, saying methods are not recognized or arguments/signatures are wrong. e.g.:
sql.Database => Unresolved type "Database" (WS assumes this is a class/constructor) db.configure => Unresolved function or method db.serialize(function(){}); => Argument type Function is not assignable to parameter type Request
It would be really cool if you rewrote with TS (doesn't take that long, usually), and exported some type info.
Activity
natesilva commentedon May 30, 2017
There’s an
@types/sqlite3but it only describes version 2.2. Would be nice to have it updated for version 3.hn3000 commentedon Jun 8, 2017
An update for version 3.1 has been merged some days ago: DefinitelyTyped/DefinitelyTyped#16656
kewde commentedon Apr 15, 2022
@daniellockyer https://github.com/microsoft/vscode-node-sqlite3/blob/vscode/index.d.ts
daniellockyer commentedon Apr 15, 2022
@kewde I believe they also opened a PR for that here: #1527
Will get around to checking it at some point 🙂
daniellockyer commentedon Jul 31, 2022
I've merged a PR to add this: ffda15f
I'll be updating the types before releasing soon 🙂