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

[Typings] Initializers are not allowed in ambient contexts (priority variable) #3156

Closed
mcereijo opened this issue Jan 14, 2020 · 1 comment

Comments

@mcereijo
Copy link

I am building an Angular 8 application with the version 3.0.1 of the dash.js library.

When use the npm start command, it throws the following error:

Console output
ERROR in node_modules/dashjs/build/typings/index.d.ts:868:29 - error TS1039: Initializers are not allowed in ambient contexts.

868         priority?: number = -1;

The version 3.0.0 doesn't have this error.

@dsilhavy dsilhavy added this to the 3.0.2 milestone Jan 17, 2020
@dsilhavy
Copy link
Collaborator

Fixed in #3162

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

No branches or pull requests

2 participants