yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

Typescript definition broken or out of date #100

Closed jonrose182 closed 8 years ago

jonrose182 commented 8 years ago

I am attempting to use ydn-db within an Angular 2 / Typescript application, but it appears the typescript file is broken or out of date. A few examples of issues I've run into:

interface DatabaseSchemaJson { version?: number; stores: StoreSchemaJson[]; fullTextCatalogs?: FullTextCatalog; }

search(catalog_name: string): Request;

I've tried the following definition files and run into similar issues with all of them:

yathit commented 8 years ago

Thanks. updated.