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

Module '"chai-exclude"' has no default export.ts #22

Closed
jonsalvas opened this issue May 25, 2019 · 2 comments
Closed

Module '"chai-exclude"' has no default export.ts #22

jonsalvas opened this issue May 25, 2019 · 2 comments

Comments

@jonsalvas
Copy link

jonsalvas commented May 25, 2019

First: Thanks for providing this useful plugin.

Unfortunately I cannot use it in typescript. When trying to import the module via the code from your documentation

import * as chai from 'chai';
import chaiExclude from 'chai-exclude';

chai.use(chaiExclude);

Typescript complains about the default export of chai-exclude:
Module '"chai-exclude"' has no default export.ts

@mesaugat
Copy link
Owner

Hello @jonsalvas, which version of chai-exclude are you using? This should have been fixed is version 2.0.0

@jonsalvas
Copy link
Author

Hi @mesaugat, I do not know which version I used before but with 2.0.1 it is working fine. Thanks!

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

No branches or pull requests

2 participants