Skip to content

Missing semi-colon in the extendsHelper #27312

Closed
@spratmannc

Description

@spratmannc

The missing semi-colon after the declaration of the extendStatics variable/function (es2015.ts, line 4082) results in linting errors (JSHint). For projects that contain both TypeScript and JavaScript source files, this presents a problem in CI builds, as its not always feasible to bypass semi-colon terminator requirements when linting the project.

It looks like this is just an oversight, since semi-colons are used consistently elsewhere.

This would not show up as a build error since the helper is specified as a string of text.

Expected behavior:
The extendsHelper helper should include a semi-colon after declaring the extendsStatic variable.

Actual behavior:
The semi-colon is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions