Skip to content

Commit cbcc171

Browse files
authored
Rename FileSystem interface to FileSystemCordova
1 parent faba1bf commit cbcc171

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/index.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface Window {
1717
requestFileSystem(
1818
type: LocalFileSystem,
1919
size: number,
20-
successCallback: (fileSystem: FileSystem) => void,
20+
successCallback: (fileSystem: FileSystemCordova) => void,
2121
errorCallback?: (fileError: FileError) => void): void;
2222
/**
2323
* Look up file system Entry referred to by local URL.
@@ -42,7 +42,7 @@ interface Window {
4242
}
4343

4444
/** This interface represents a file system. */
45-
interface FileSystem {
45+
interface FileSystemCordova {
4646
/* The name of the file system, unique across the list of exposed file systems. */
4747
name: string;
4848
/** The root directory of the file system. */
@@ -63,7 +63,7 @@ interface Entry {
6363
/** The full absolute path from the root to the entry. */
6464
fullPath: string;
6565
/** The file system on which the entry resides. */
66-
filesystem: FileSystem;
66+
filesystem: FileSystemCordova;
6767
nativeURL: string;
6868
/**
6969
* Look up metadata about this entry.
@@ -375,4 +375,4 @@ interface Cordova {
375375
declare enum LocalFileSystem {
376376
PERSISTENT=1,
377377
TEMPORARY=0
378-
}
378+
}

0 commit comments

Comments
 (0)