typescript 5.3.0-dev.20230926 → 5.3.0-dev.20230927
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 +9 -1
- package/lib/tsc.js +319 -259
- package/lib/tsserver.js +363 -289
- package/lib/typescript.d.ts +51 -29
- package/lib/typescript.js +358 -286
- package/lib/typingsInstaller.js +165 -109
- package/package.json +2 -2
package/lib/lib.es5.d.ts
CHANGED
|
@@ -638,7 +638,8 @@ interface ImportMeta {
|
|
|
638
638
|
* augmented via interface merging.
|
|
639
639
|
*/
|
|
640
640
|
interface ImportCallOptions {
|
|
641
|
-
assert?: ImportAssertions;
|
|
641
|
+
/** @deprecated*/ assert?: ImportAssertions;
|
|
642
|
+
with?: ImportAttributes;
|
|
642
643
|
}
|
|
643
644
|
|
|
644
645
|
/**
|
|
@@ -648,6 +649,13 @@ interface ImportAssertions {
|
|
|
648
649
|
[key: string]: string;
|
|
649
650
|
}
|
|
650
651
|
|
|
652
|
+
/**
|
|
653
|
+
* The type for the `with` property of the optional second argument to `import()`.
|
|
654
|
+
*/
|
|
655
|
+
interface ImportAttributes {
|
|
656
|
+
[key: string]: string;
|
|
657
|
+
}
|
|
658
|
+
|
|
651
659
|
interface Math {
|
|
652
660
|
/** The mathematical constant e. This is Euler's number, the base of natural logarithms. */
|
|
653
661
|
readonly E: number;
|