type-sql icon indicating copy to clipboard operation
type-sql copied to clipboard

TypeError: Class constructor QueryTable cannot be invoked without 'new'

Open therealmaxmoon opened this issue 7 years ago • 1 comments

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');

therealmaxmoon avatar Aug 29 '17 06:08 therealmaxmoon

i have the same issue.

Allasstar avatar Nov 20 '20 10:11 Allasstar