Skip to content

Commit

Permalink
refactor: Remove Identifier.getDefinitionReferencingNodes()
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Identifier.getDefinitionReferencingNodes() is now getReferencingNodes().
  • Loading branch information
dsherret committed Apr 22, 2018
1 parent 09244f9 commit 2b1446a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/compiler/common/Identifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ export class Identifier extends ReferenceFindableNode(PrimaryExpression)<ts.Iden
this.global.languageService.renameNode(this, newName);
}

/**
* Find the nodes that reference the definition(s) of the identifier.
* @deprecated Use getReferencingNodes().
*/
getDefinitionReferencingNodes(): Node[] {
return this.getReferencingNodes();
}

/**
* Gets the definition nodes of the identifier.
* @remarks This is similar to "go to definition" and `.getDefinitions()`, but only returns the nodes.
Expand Down

0 comments on commit 2b1446a

Please sign in to comment.