Skip to content

Compiler strips comments from classes #50053

Closed
@pushkine

Description

@pushkine

Bug Report

πŸ•— Version & Regression Information

ts stable 4.7.4 & nightly

⏯ Playground Link

Playground Link

πŸ’» Code

// comment
export class A {
	// comment
}

πŸ™ Actual behavior

// comment
export class A {
}

πŸ™‚ Expected behavior

// comment
export class A {
	// comment
}

Activity

RyanCavanaugh

RyanCavanaugh commented on Jul 28, 2022

@RyanCavanaugh
Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @RyanCavanaugh@pushkine

        Issue actions

          Compiler strips comments from classes Β· Issue #50053 Β· microsoft/TypeScript