Skip to content

"implements" generates to "extends" #3

@tehwalris

Description

@tehwalris

To reproduce:

  • write a class which implements an interface in a text file
  • load the file in forest and save it again
  • the "extends" keyword is replaced with "implements"

This seems like it will require special handling to fix, because of this type:

token: SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword

The problem is that the values of this property are not ts.Node. There are 1-2 more cases like this in other parts of the AST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions