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

bs_stepper_1.default is not a constructor #167

Closed
nithya-ramesh opened this issue May 8, 2020 · 2 comments
Closed

bs_stepper_1.default is not a constructor #167

nithya-ramesh opened this issue May 8, 2020 · 2 comments

Comments

@nithya-ramesh
Copy link

nithya-ramesh commented May 8, 2020

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?

@Johann-S
Copy link
Owner

Johann-S commented May 8, 2020

Hi @nithya-ramesh,

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

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

@nithya-ramesh
Copy link
Author

nithya-ramesh commented May 8, 2020

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

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