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

Usage with TypeScript #11

Open
nunof07 opened this issue Nov 11, 2017 · 2 comments
Open

Usage with TypeScript #11

nunof07 opened this issue Nov 11, 2017 · 2 comments

Comments

@nunof07
Copy link

nunof07 commented Nov 11, 2017

Hi,

Thanks for this great package.

I'm trying to use it with TypeScript. Typings are installed and I'm importing it like this:

import * as chaiIterator from 'chai-iterator';

But it gives me the following error:

[ts] Module ''chai-iterator'' resolves to a non-module entity and cannot be imported using this construct.

Any ideas?

I cannot use require syntax.

@nunof07
Copy link
Author

nunof07 commented Nov 11, 2017

Seems related to microsoft/TypeScript#5073

@nunof07
Copy link
Author

nunof07 commented Nov 12, 2017

Submitted PR #13

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

1 participant