Skip to content

Commit

Permalink
fix: error code-factor
Browse files Browse the repository at this point in the history
  • Loading branch information
MRinaldi9 committed Nov 19, 2024
1 parent 6f88678 commit fc2646a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/ngx-indexed-db/src/ssr/server-indexed-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
*
*/
export class ServerIndexedDB implements IDBFactory {
cmp(first: unknown, second: unknown): number {
cmp(): number {
return 0;
}
databases(): Promise<IDBDatabaseInfo[]> {
return Promise.resolve([]);
}

deleteDatabase(name: string): IDBOpenDBRequest {
deleteDatabase(): IDBOpenDBRequest {
return {
onupgradeneeded: null,
onblocked: null,
Expand All @@ -22,7 +22,7 @@ export class ServerIndexedDB implements IDBFactory {
} as IDBOpenDBRequest;
}

open(name: string, version: number): IDBOpenDBRequest {
open(): IDBOpenDBRequest {
return {
onupgradeneeded: null,
onblocked: null,
Expand Down

0 comments on commit fc2646a

Please sign in to comment.