(key: string, value: string)
| 72 | } |
| 73 | |
| 74 | public static storeValue(key: string, value: string): void { |
| 75 | if (!Clipper.storage) { |
| 76 | throw new Error("The remote storage needs to be set up with the extension communicator first"); |
| 77 | } |
| 78 | Clipper.storage.setValue(key, value, undefined); |
| 79 | } |
| 80 | |
| 81 | private static setUpRemoteStorage(extensionCommunicator: Communicator) { |
| 82 | Clipper.storage = new RemoteStorage(Clipper.getExtensionCommunicator()); |
no test coverage detected