typescript 5.0.1-rc → 5.0.2
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/tsc.js +140 -142
- package/lib/tsserver.js +345 -284
- package/lib/tsserverlibrary.d.ts +6 -1
- package/lib/tsserverlibrary.js +345 -281
- package/lib/typescript.d.ts +6 -1
- package/lib/typescript.js +345 -279
- package/lib/typingsInstaller.js +7 -20
- package/package.json +15 -15
package/lib/typescript.d.ts
CHANGED
|
@@ -3016,6 +3016,12 @@ declare namespace ts {
|
|
|
3016
3016
|
}
|
|
3017
3017
|
enum ModuleResolutionKind {
|
|
3018
3018
|
Classic = 1,
|
|
3019
|
+
/**
|
|
3020
|
+
* @deprecated
|
|
3021
|
+
* `NodeJs` was renamed to `Node10` to better reflect the version of Node that it targets.
|
|
3022
|
+
* Use the new name or consider switching to a modern module resolution target.
|
|
3023
|
+
*/
|
|
3024
|
+
NodeJs = 2,
|
|
3019
3025
|
Node10 = 2,
|
|
3020
3026
|
Node16 = 3,
|
|
3021
3027
|
NodeNext = 99,
|
|
@@ -4305,7 +4311,6 @@ declare namespace ts {
|
|
|
4305
4311
|
negative: boolean;
|
|
4306
4312
|
base10Value: string;
|
|
4307
4313
|
}
|
|
4308
|
-
function getNodeMajorVersion(): number | undefined;
|
|
4309
4314
|
enum FileWatcherEventKind {
|
|
4310
4315
|
Created = 0,
|
|
4311
4316
|
Changed = 1,
|