| 1 | import { InjectionToken } from '@angular/core'; |
| 2 | |
| 3 | export interface IStorage { |
| 4 | get(k: string): Promise<any>; |
| 5 | set(k: string, v): Promise<void>; |
| 6 | remove(k: string): Promise<void>; |
| 7 | create(k: string, v): Promise<void>; |
| 8 | } |
| 9 | |
| 10 | export class KeyAlreadyExistsError extends Error { |
| 11 | constructor() { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…