Skip to content

Review replaceNode #21246

Closed
Closed

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)

Activity

  1. amcasey commented on Jan 17, 2018

    @amcasey
    Member

    extractSymbol.ts also make heavy use of replaceRange.

  2. RyanCavanaugh commented on Dec 15, 2021

    @RyanCavanaugh
    Member

    Looks like we got them all

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

    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