Skip to content

Duplication of comment block at the start of the file in the generated JavaScript file #12979

@rkonstantinov

Description

@rkonstantinov

TypeScript Version: 2.1.4

It seems that if the file starts with a comment (either block or line), running tsc will result in duplication of this comment in the generated JavaScript file. (This particular output seems to make our rollup setup to choke). If a new line is inserted before the comment, this cannot be observed.

A test repo can be found here.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions