| 38 | // these are not guaranteed to be stable across minor versions |
| 39 | // but historically, they have been pretty much so |
| 40 | export interface DeveloperTools { |
| 41 | readonly version: string; |
| 42 | readonly areas: { [name: string]: Storage }; |
| 43 | readonly apis: { [name: string]: StoreAPI }; |
| 44 | nsdelim: string; |
| 45 | revive: Reviver; |
| 46 | replace: Replacer; |
| 47 | readonly fn: (name: string, fn: Function) => void; |
| 48 | storeAPI: StoreAPI; |
| 49 | get: (area: Storage, key: string) => string; |
| 50 | set: (area: Storage, key: string, string: string) => void; |
| 51 | remove: (area: Storage, key: string) => void; |
| 52 | key: (area: Storage, i: number) => string; |
| 53 | length: (area: Storage) => number; |
| 54 | clear: (area: Storage) => void; |
| 55 | parse: (s: string, fn?: Reviver) => any; |
| 56 | stringify: (d: any, fn?: Replacer) => string; |
| 57 | inherit: (api: StoreAPI, o: object) => object; |
| 58 | } |
| 59 | |
| 60 | export type StoreType = StoreBase & { |
| 61 | local: StoreBase; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…