Skip to content

TS compilation issue #7

Closed
Closed
@AuHau

Description

@AuHau

When I run tsc in achingbrain's uint8arrays repo I get:

node_modules/web-encoding/src/lib.d.ts:1:10 - error TS2661: Cannot export 'TextEncoder'. Only local declarations can be exported from a module.

1 export { TextEncoder, TextDecoder }
           ~~~~~~~~~~~

node_modules/web-encoding/src/lib.d.ts:1:23 - error TS2661: Cannot export 'TextDecoder'. Only local declarations can be exported from a module.

1 export { TextEncoder, TextDecoder }
                        ~~~~~~~~~~~

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