kputh edited a comment on issue #400:
URL: 
https://github.com/apache/cordova-plugin-file/issues/400#issuecomment-648731239


   Update: I replaced the import with `/// <reference 
types="cordova-plugin-file" />`. The static code analysis was satisfied with 
the import, but the compiler complained that the definition file is not a 
module.
   
   > How did you add the files to your tsconfig?
   
   My _tsconfig.json_ look roughly like this:
   ```
   {
     "files": [ "src/main.ts" ],
     "include": [ "types/**/*.d.ts" ],
     "exclude": [ "src/**/*.spec.ts" ]
   }
   ```
   I implicitly use the default type roots configuration.


----------------------------------------------------------------
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]

Reply via email to