Skip to content

Usage with TypeScript #11

@nunof07

Description

@nunof07

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions