Closed Johan-Liebert1 closed 1 year ago
A lot of properties on FileSystemDirectoryHandle are not added to types.
FileSystemDirectoryHandle
Defined Types
/** Available only in secure contexts. */ interface FileSystemDirectoryHandle extends FileSystemHandle { readonly kind: "directory"; getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>; getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>; removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>; resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>; } declare var FileSystemDirectoryHandle: { prototype: FileSystemDirectoryHandle; new(): FileSystemDirectoryHandle; };
Not included in types
This library doesn't define types for FileSystemDirectoryHandle, as you can see in index.d.ts. It uses whatever TypeScript already ships with. Maybe updating to the latest version fixes this for you.
index.d.ts
A lot of properties on
FileSystemDirectoryHandle
are not added to types.Defined Types
Not included in types