diff --git a/projects/ngx-indexed-db/src/ssr/server-indexed-db.ts b/projects/ngx-indexed-db/src/ssr/server-indexed-db.ts index a431d8d..3505386 100644 --- a/projects/ngx-indexed-db/src/ssr/server-indexed-db.ts +++ b/projects/ngx-indexed-db/src/ssr/server-indexed-db.ts @@ -5,14 +5,14 @@ * */ export class ServerIndexedDB implements IDBFactory { - cmp(first: unknown, second: unknown): number { + cmp(): number { return 0; } databases(): Promise { return Promise.resolve([]); } - deleteDatabase(name: string): IDBOpenDBRequest { + deleteDatabase(): IDBOpenDBRequest { return { onupgradeneeded: null, onblocked: null, @@ -22,7 +22,7 @@ export class ServerIndexedDB implements IDBFactory { } as IDBOpenDBRequest; } - open(name: string, version: number): IDBOpenDBRequest { + open(): IDBOpenDBRequest { return { onupgradeneeded: null, onblocked: null,