From a55febda779bd9c24b1d3b454860a40b351c158e Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 24 Apr 2018 12:21:36 -0700 Subject: [PATCH] Make 'ImportMeta' more minimal. --- src/lib/es5.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index cd4be60e8e4..55c184f672f 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -505,8 +505,13 @@ interface TemplateStringsArray extends ReadonlyArray { readonly raw: ReadonlyArray; } +/** + * The type of `import.meta`. + * + * If you need to declare that a given property exists on `import.meta`, + * this type may be augmented via interface merging. + */ interface ImportMeta { - [propertyName: string]: any; } interface Math {