Ngx-bootstrap: Initializers are not allowed in ambient contexts.

Created on 18 May 2019  路  3Comments  路  Source: valor-software/ngx-bootstrap

I understand that this is a typescript error.
And the possible solution is to use typescript 3.1 or above.

But this would require upgrading to angular 7 to use typescript 3.

And technically that's stressful and impossible. (Because my project is bulky and I'm avoiding any break changes)

Feature request:

So please is there any stable ngx-bootstrap version to use with angular 6.

Bug description:

(TS1039) Initializers are not allowed in ambient contexts, On typescript 2.9.2

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 4.1.1

Angular: 6.1.0

Bootstrap: 4.0

Typescript: 2.9.2

question

Most helpful comment

Thanks. But I had to put the issue here because a lot of people might encounter the same issue

All 3 comments

@ciriarte https://valor-software.com/ngx-bootstrap/old/3.3.0/#/documentation#getting-started - this is the latest stable version, which you can use with app on ng6

There's no need to open an issue here if you want to ask a general question.
Use StackOverflow or Slack instead

Thanks. But I had to put the issue here because a lot of people might encounter the same issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tuoitrexuquang picture tuoitrexuquang  路  3Comments

phmello picture phmello  路  3Comments

ravirajhalli picture ravirajhalli  路  3Comments

ghiscoding picture ghiscoding  路  3Comments

pgeyman picture pgeyman  路  3Comments