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 +17 -0
- package/lib/tsc.js +4581 -4421
- package/lib/tsserver.js +7297 -7110
- package/lib/tsserverlibrary.d.ts +267 -240
- package/lib/tsserverlibrary.js +7297 -7110
- package/lib/typescript.d.ts +267 -240
- package/lib/typescript.js +7297 -7110
- package/lib/typescriptServices.d.ts +267 -240
- package/lib/typescriptServices.js +7297 -7110
- package/lib/typingsInstaller.js +5377 -5197
- package/package.json +1 -1
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;
|