@flipperdevices/fz-sdk
Version:
Type declarations and documentation for native JS modules available on Flipper Zero
8 lines (7 loc) • 343 B
TypeScript
/**
* @brief Displays a file picker and returns the selected file, or undefined if cancelled
* @param basePath The path to start at
* @param extension The file extension(s) to show (like `.sub`, `.iso|.img`, `*`)
* @version Added in JS SDK 0.1
*/
export declare function pickFile(basePath: string, extension: string): string | undefined;