| 1 | export interface Store { |
| 2 | incr: (key: string, callback: (error: Error | null, hits: number, resetTime: Date) => void) => void |
| 3 | decrement: (key: string) => void |
| 4 | resetAll: () => void |
| 5 | resetKey: (key: string) => void |
| 6 | } |
| 7 | |
| 8 | export class MemoryStore implements Store { |
| 9 | hits = {} |
nothing calls this directly
no outgoing calls
no test coverage detected