breautek commented on issue #400: URL: https://github.com/apache/cordova-plugin-file/issues/400#issuecomment-648296112
Currently a workaround would be to create your own definition file that you can include in the project, which would declare the variables and functions added by the `cordova-plugin-file`, which for the time being, just to satisfy typescript, the declares types could be defined as `any`. An example of extending global (or in this case, the `window`) can be found on the [typescript docs](https://www.staging-typescript.org/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
