AlaSQL / alasql

AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel.
http://alasql.org
MIT License
6.96k stars 651 forks source link

Typescript Definition for Database constuctor #1933

Closed fsuk closed 1 day ago

fsuk commented 1 month ago

Something is not working as expected:

Workaround: const db = (new (Database as any)())

mathiasrw commented 4 weeks ago

Does anyone have an idea on how to fix this?