Skip to content

Commit 331230d

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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/lib/es5.d.ts

Lines changed: 6 additions & 1 deletion
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)