Johann-S/bs-stepper

bs_stepper_1.default is not a constructor

nithya-ramesh opened this issue · 2 comments

I am trying to use bs-stepper in my angular application. Referred to https://stackblitz.com/edit/bs-stepper-angular?file=src%2Fapp%2Fapp.component.ts
However i get the error related to constructor. Any pointers on how to solve this?

Hi @nithya-ramesh,

You have to be sure in your tsconfig.json you have that:

{
  "compilerOptions": {
    "esModuleInterop": true
  }
}

thanks a lot @Johann-S it works fine now!