mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
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:
@@ -605,6 +605,7 @@ namespace ts {
|
||||
|
||||
export interface Declaration extends Node {
|
||||
_declarationBrand: any;
|
||||
name?: DeclarationName;
|
||||
}
|
||||
|
||||
export interface NamedDeclaration extends Declaration {
|
||||
|
||||
Reference in New Issue
Block a user