I am trying to use your plugin within my project and I get the following error by only importing your module
import { CameraPlus } from '@nstudio/nativescript-camera-plus';
ERROR in node_modules/@nstudio/nativescript-camera-plus/index.d.ts(58,43): error TS1039: Initializers are not allowed in ambient contexts.
node_modules/@nstudio/nativescript-camera-plus/index.d.ts(63,47): error TS1039: Initializers are not allowed in ambient contexts.
I am using the TypeScript Version 3.1.6. I guess this is the issue.
Does anyone has the same issue ? Is there a workaround ?
Hi,
I am trying to use your plugin within my project and I get the following error by only importing your module
import { CameraPlus } from '@nstudio/nativescript-camera-plus';
ERROR in node_modules/@nstudio/nativescript-camera-plus/index.d.ts(58,43): error TS1039: Initializers are not allowed in ambient contexts. node_modules/@nstudio/nativescript-camera-plus/index.d.ts(63,47): error TS1039: Initializers are not allowed in ambient contexts.
I am using the TypeScript Version 3.1.6. I guess this is the issue. Does anyone has the same issue ? Is there a workaround ?
Thanks a lot,
N