Skip to content

Review replaceNode #21246

@ghost

Description

This function should be checked that it properly handles leading and trailing trivia of the node.
We should probably use replaceNode instead of replaceRange in fixUnusedIdentifier.ts. See #21144 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions