ajuanjojjj commented on PR #588: URL: https://github.com/apache/cordova-plugin-file/pull/588#issuecomment-1655205075
I don't think the change is at fault here, but rather the test; index.ts:15:37 points out that the promise's type is `FileSystem` (As in, `libdom`'s type) instead of FileSystemCordova (As in, the one from the plugin) Simply changing the promise's type to FileSystemCordova, using a "Promisify" lib, or using the Utility Types from TS to create this monstrosity `<Parameters<Parameters<Window["requestFileSystem"]>[2]>[0]>` makes the tests compile successfully -- 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]
