Skip to content

Commit

Permalink
fix(authentication-client): Fix storage type so it works with all sup…
Browse files Browse the repository at this point in the history
…ported interfaces (#2041)
  • Loading branch information
daffl committed Aug 8, 2020
1 parent 97495a2 commit 6ee0e78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/authentication-client/src/storage.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface Storage {
getItem (key: string): Promise<any>;
setItem? (key: string, value: any): Promise<any>;
removeItem? (key: string): Promise<any>;
getItem (key: string): any;
setItem? (key: string, value: any): any;
removeItem? (key: string): any;
}

export class MemoryStorage implements Storage {
Expand Down

0 comments on commit 6ee0e78

Please sign in to comment.