Skip to content

Commit

Permalink
Rename FileSystem interface to FileSystemCordova
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuanjojjj authored Jul 27, 2023
1 parent faba1bf commit cbcc171
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Window {
requestFileSystem(
type: LocalFileSystem,
size: number,
successCallback: (fileSystem: FileSystem) => void,
successCallback: (fileSystem: FileSystemCordova) => void,
errorCallback?: (fileError: FileError) => void): void;
/**
* Look up file system Entry referred to by local URL.
Expand All @@ -42,7 +42,7 @@ interface Window {
}

/** This interface represents a file system. */
interface FileSystem {
interface FileSystemCordova {
/* The name of the file system, unique across the list of exposed file systems. */
name: string;
/** The root directory of the file system. */
Expand All @@ -63,7 +63,7 @@ interface Entry {
/** The full absolute path from the root to the entry. */
fullPath: string;
/** The file system on which the entry resides. */
filesystem: FileSystem;
filesystem: FileSystemCordova;
nativeURL: string;
/**
* Look up metadata about this entry.
Expand Down Expand Up @@ -375,4 +375,4 @@ interface Cordova {
declare enum LocalFileSystem {
PERSISTENT=1,
TEMPORARY=0
}
}

0 comments on commit cbcc171

Please sign in to comment.