Skip to content

3.0.2 causes typescript error #4

@RangerRick

Description

@RangerRick

My dependabot update fails with this error:

node_modules/@egstad/marquee/index.d.ts:9:3
    9   export = Marquee
        ~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag.

Doesn't seem to be compatible with the older-style either:

import * as Marquee from '@egstad/marquee';

As a workaround, I was able to import it by changing the import to pulling in the source version for now:

import Marquee from '@egstad/marquee/src';

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