Skip to content

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

@therealmaxmoon

Description

@therealmaxmoon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions