Skip to content

Commit a55febd

Browse files
Make 'ImportMeta' more minimal.
1 parent 0feefab commit a55febd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: src/lib/es5.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,13 @@ interface TemplateStringsArray extends ReadonlyArray<string> {
505505
readonly raw: ReadonlyArray<string>;
506506
}
507507

508+
/**
509+
* The type of `import.meta`.
510+
*
511+
* If you need to declare that a given property exists on `import.meta`,
512+
* this type may be augmented via interface merging.
513+
*/
508514
interface ImportMeta {
509-
[propertyName: string]: any;
510515
}
511516

512517
interface Math {

0 commit comments

Comments
 (0)