From 6b64feebdfb6eb5f9ae98e354ad170dd804d855f Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Fri, 19 May 2017 13:14:31 -0700 Subject: [PATCH] Add name property to Declaration temporarily The property will go away in TypeScript 2.4 and only remain on NamedDeclaration. --- src/compiler/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index cc177730c8eba..86d011633da86 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -605,6 +605,7 @@ namespace ts { export interface Declaration extends Node { _declarationBrand: any; + name?: DeclarationName; } export interface NamedDeclaration extends Declaration {