Skip to content

Version 2.8.0 ES5 Incompatibility #274

@nathaniel-norton

Description

@nathaniel-norton

The tslib.js file in version 2.8.0 is no longer compatible with ES5 due to the export syntax added in commit f63baa3.

Our current workaround is to convert tslib.js to a .ts file, add // @ts-nocheck to the top of the file, and then let typescript transpile it correctly to our target JavaScript version.

Is the lack of ongoing compatibility for ES5 environments intentional or can this be resolved directly in tslib.js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions