ajuanjojjj commented on issue #563:
URL: 
https://github.com/apache/cordova-plugin-file/issues/563#issuecomment-1653058208

   Doing so seems to break the examples in the repo (And I'm assuming that the 
plugin in general)
   
   I'd suggest just renaming the interface to something that doesn't coincide 
with the global new one;
   ```diff
   diff --git a/index.d.ts b/index.d.ts
   --- a/index.d.ts
   +++ b/index.d.ts
   @@ -18,5 +18,5 @@ interface Window {
                   type: LocalFileSystem,
                   size: number,
   -        successCallback: (fileSystem: FileSystem) => void,
   +        successCallback: (fileSystem: FileSystemCordova) => void,
                   errorCallback?: (fileError: FileError) => void): void;
           /**
   @@ -43,5 +43,5 @@ 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;
   @@ -64,5 +64,5 @@ interface Entry {
           fullPath: string;
           /** The file system on which the entry resides. */
   -    filesystem: FileSystem;
   +    filesystem: FileSystemCordova;
           nativeURL: string;
           /**
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to