From fe3f2f35a881cd824c8da1142ff0b21a3071a372 Mon Sep 17 00:00:00 2001 From: cherrydev Date: Mon, 7 Dec 2015 12:45:56 -0800 Subject: [PATCH] added missing static functions Function definition for Dexie.delete at Dexie.js:3246 Function definition for Dexie.exists at Dexie.js:3259 Other static definitions are still missing. --- dexie/dexie.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dexie/dexie.d.ts b/dexie/dexie.d.ts index 13b9b31e0b..2de122385e 100644 --- a/dexie/dexie.d.ts +++ b/dexie/dexie.d.ts @@ -37,6 +37,10 @@ declare class Dexie { static shallowClone(obj: Object): Object; static deepClone(obj: Object): Object; + + static delete(databaseName : string): Dexie.Promise; + + static exists(databaseName : string): Dexie.Promise; version(versionNumber: number): Dexie.Version;