mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Added merge_module function. Added text module (currently having encoding only). Updated the FileSystem File object with readText, writeText methods (removed the FileReader, FileWriter classes).
This commit is contained in:
6
FileSystem/file_system_access.d.ts
vendored
6
FileSystem/file_system_access.d.ts
vendored
@ -20,8 +20,10 @@ export declare class FileSystemAccess {
|
||||
rename(path: string, newPath: string, onSuccess?: () => any, onError?: (error: any) => any): void;
|
||||
getDocumentsFolderPath(): string;
|
||||
getTempFolderPath(): string;
|
||||
readText(path: string, onSuccess: (content: string) => any, onError?: (error: any) => any);
|
||||
writeText(path: string, content: string, onSuccess?: () => any, onError?: (error: any) => any);
|
||||
|
||||
readText(path: string, onSuccess: (content: string) => any, onError?: (error: any) => any, encoding?: string);
|
||||
writeText(path: string, content: string, onSuccess?: () => any, onError?: (error: any) => any, encoding?: string);
|
||||
|
||||
getFileExtension(path: string): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user