added the enum used in requestFileSystem

This commit is contained in:
grippstick
2016-08-23 16:55:34 -05:00
committed by GitHub
parent 324169800c
commit e729485568
+6 -1
View File
@@ -15,7 +15,7 @@ interface Window {
* @param errorCallback A callback that is called when errors happen, or when the request to obtain the filesystem is denied.
*/
requestFileSystem(
type: number,
type: LocalFileSystem,
size: number,
successCallback: (fileSystem: FileSystem) => void,
errorCallback?: (fileError: FileError) => void): void;
@@ -371,3 +371,8 @@ interface Cordova {
}
}
declare enum LocalFileSystem {
PERSISTENT=0,
TEMPORARY=1
}