TypeError: Class constructor QueryTable cannot be invoked without 'new' · Issue #1 · ggmod/type-sql · GitHub
More Web Proxy on the site http://driver.im/
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
If I use the table definition from the README, I get the error: TypeError: Class constructor QueryTable cannot be invoked without 'new'
But there is clearly a 'new' there, if you create an instance of a child of QueryTable : export const BOOK = new BookTable('Book');