Add name property to Declaration temporarily

The property will go away in TypeScript 2.4 and only remain on
NamedDeclaration.
This commit is contained in:
Nathan Shively-Sanders 2017-05-19 13:14:31 -07:00
parent 367e072f54
commit 6b64feebdf

View File

@ -605,6 +605,7 @@ namespace ts {
export interface Declaration extends Node {
_declarationBrand: any;
name?: DeclarationName;
}
export interface NamedDeclaration extends Declaration {