@types/wicg-cross-origin-storage
v2026.7.0
Published
TypeScript definitions for wicg-cross-origin-storage
Readme
Installation
npm install --save @types/wicg-cross-origin-storage
Summary
This package contains type definitions for wicg-cross-origin-storage (https://github.com/WICG/cross-origin-storage).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wicg-cross-origin-storage.
index.d.ts
export {};
declare global {
/**
* Represents the dictionary for hash algorithm and value.
*/
interface CrossOriginStorageRequestFileHandleHash {
value: string;
algorithm: string;
}
/**
* Represents the options for requesting a file handle.
*/
interface CrossOriginStorageRequestFileHandleOptions {
create?: boolean | undefined;
origins?: string[] | string | undefined;
}
/**
* The CrossOriginStorageManager interface.
* [SecureContext]
*/
interface CrossOriginStorageManager {
requestFileHandle(
hash: CrossOriginStorageRequestFileHandleHash,
options?: CrossOriginStorageRequestFileHandleOptions,
): Promise<FileSystemFileHandle>;
}
interface Navigator {
readonly crossOriginStorage: CrossOriginStorageManager;
}
interface WorkerNavigator {
readonly crossOriginStorage: CrossOriginStorageManager;
}
}
Additional Details
- Last updated: Thu, 02 Jul 2026 20:01:15 GMT
- Dependencies: none
Credits
These definitions were written by Thomas Steiner, and Christian Liebel.
