Interface FileSystemFileHandle

    Available only in secure contexts.

    MDN Reference

    interface FileSystemFileHandle {
        kind: "file";
        name: string;
        createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;
        createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
        getFile(): Promise<File>;
        isSameEntry(other: FileSystemHandle): Promise<boolean>;
    }
    Hierarchy

    Properties

    kind: "file"
    name: string

    Methods