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
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.
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 methoddb.serialize(function(){});=> Argument type Function is not assignable to parameter type RequestIt would be really cool if you rewrote with TS (doesn't take that long, usually), and exported some type info.
Here is a really weird warning, by the way:
Thanks!