Skip to content

TSC removes empty lines for plain javascript #3906

Closed
@matthiasg

Description

@matthiasg

When trying to integrate TS into a project I noticed that the compiler removes all whitespace (babel tries to keep that). That means just renaming a file to ts and adding the global types results in having to rely on properly working source maps for debugging which is quite annoying.

any plans or workarounds ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions