typescript 4.5.0-dev.20210920 → 4.5.0-dev.20210921

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/lib.es5.d.ts CHANGED
@@ -617,6 +617,23 @@ interface TemplateStringsArray extends ReadonlyArray<string> {
617
617
  interface ImportMeta {
618
618
  }
619
619
 
620
+ /**
621
+ * The type for the optional second argument to `import()`.
622
+ *
623
+ * If your host environment supports additional options, this type may be
624
+ * augmented via interface merging.
625
+ */
626
+ interface ImportCallOptions {
627
+ assert?: ImportAssertions;
628
+ }
629
+
630
+ /**
631
+ * The type for the `assert` property of the optional second argument to `import()`.
632
+ */
633
+ interface ImportAssertions {
634
+ [key: string]: string;
635
+ }
636
+
620
637
  interface Math {
621
638
  /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */
622
639
  readonly E: number;