@ayonli/jsext
Version:
A JavaScript extension package for building strong and modern applications.
7 lines (6 loc) • 360 B
TypeScript
export declare function browserPickFile(type?: string, options?: {
forSave?: boolean | undefined;
defaultName?: string | undefined;
}): Promise<FileSystemFileHandle | null>;
export declare function browserPickFiles(type?: string): Promise<FileSystemFileHandle[]>;
export declare function browserPickFolder(): Promise<FileSystemDirectoryHandle | null>;