Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript types not working #27

Closed
abdullahcel1k opened this issue Oct 18, 2019 · 2 comments
Closed

Typescript types not working #27

abdullahcel1k opened this issue Oct 18, 2019 · 2 comments
Assignees
Labels

Comments

@abdullahcel1k
Copy link

Hello i need run on ionic with angular but typescript types not working.
`

import * as CanvasCamera from 'cordova-plugin-canvascamera';
`
return this error : File '~/node_modules/@types/cordova-plugin-canvascamera/index.d.ts' is not a module.

@Sami-Radi
Copy link
Collaborator

The type definition has been made by a contributor see here
We are going to dig into this issue.

@Sami-Radi
Copy link
Collaborator

Hello, the latest plugin version entirely rewritten in typescript with its types. You can check a working typescript/angular demo here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants