mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Modified some FileSystem APIs as per the review documents.
This commit is contained in:
6
FileSystem/file_system.d.ts
vendored
6
FileSystem/file_system.d.ts
vendored
@ -102,16 +102,16 @@ export declare class Folder extends FileSystemEntity {
|
||||
/**
|
||||
* Provides access to the top-level Folders instances that are accessible from the application. Use these as entry points to access the FileSystem.
|
||||
*/
|
||||
export declare class KnownFolders {
|
||||
export declare module knownFolders {
|
||||
/**
|
||||
* Gets the Documents folder available for the current application. This Folder is private for the application and not accessible from Users/External apps.
|
||||
*/
|
||||
public static documents(): Folder;
|
||||
export function documents(): Folder;
|
||||
|
||||
/**
|
||||
* Gets the Temporary (Caches) folder available for the current application. This Folder is private for the application and not accessible from Users/External apps.
|
||||
*/
|
||||
public static temporary(): Folder;
|
||||
export function temp(): Folder;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user