Download types/adapters/webext.d.ts from nyaaorick/everything-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/nyaaorick/everything-webgpu/resolve/main/types/adapters/webext.d.ts
- Command line
-
hf download hf://nyaaorick/everything-webgpu/types/adapters/webext.d.ts
-
curl -L -o webext.d.ts https://huggingface.co/nyaaorick/everything-webgpu/resolve/main/types/adapters/webext.d.ts
666 Bytes
| /** | |
| * `browser.storage.local` already *is* the StorageAdapter shape — `get(key)` | |
| * and `set(obj)`. The two-method interface was chosen for that reason, so this | |
| * is a passthrough rather than a translation layer. | |
| * | |
| * @returns {import("../engine/model-store.js").StorageAdapter} | |
| */ | |
| export function webExtensionStorage(): import("../engine/model-store.js").StorageAdapter; | |
| /** | |
| * Wires a ScheduledEngine onto this extension's runtime messaging. | |
| * | |
| * @param {import("../engine/engine.js").ScheduledEngine} engine | |
| * @returns {() => void} detach | |
| */ | |
| export function attachWebExtensionTransport(engine: import("../engine/engine.js").ScheduledEngine): () => void; | |