Skip to content

Commit

Permalink
Add name property to Declaration temporarily
Browse files Browse the repository at this point in the history
The property will go away in TypeScript 2.4 and only remain on
NamedDeclaration.
  • Loading branch information
sandersn committed May 19, 2017
1 parent 367e072 commit 6b64fee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/types.ts
Expand Up @@ -605,6 +605,7 @@ namespace ts {

export interface Declaration extends Node {
_declarationBrand: any;
name?: DeclarationName;
}

export interface NamedDeclaration extends Declaration {
Expand Down

0 comments on commit 6b64fee

Please sign in to comment.