Skip to content

Commit

Permalink
ad declaration for idb batch connector
Browse files Browse the repository at this point in the history
  • Loading branch information
jjantschulev committed Aug 9, 2024
1 parent ed89ef3 commit 6e2461a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whop-core/wa-sqlite",
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"main": "src/sqlite-api.js",
"types": "src/types/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1295,3 +1295,10 @@ declare module '@whop-core/wa-sqlite/src/examples/tag.js' {
*/
export function tag(sqlite3: any, db: number): (arg0: TemplateStringsArray, ...args: any[]) => Promise<object[]>;
}

/** @ignore */
declare module '@whop-core/wa-sqlite/src/examples/IDBBatchAtomicVFS.js' {
export const IDBBatchAtomicVFS: {
create: (name: string, module: unknown) => Promise<SQLiteVFS>;
};
}

0 comments on commit 6e2461a

Please sign in to comment.