@types/node 20.10.0 → 20.10.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.
- node/README.md +1 -1
- node/globals.d.ts +346 -342
- node/package.json +3 -3
- node/process.d.ts +7 -0
- node/ts4.8/globals.d.ts +346 -342
- node/ts4.8/process.d.ts +7 -0
node/ts4.8/process.d.ts
CHANGED
|
@@ -902,6 +902,13 @@ declare module "process" {
|
|
|
902
902
|
* @experimental
|
|
903
903
|
*/
|
|
904
904
|
readonly sourceMapsEnabled: boolean;
|
|
905
|
+
/**
|
|
906
|
+
* This function enables or disables the Source Map v3 support for stack traces.
|
|
907
|
+
* It provides same features as launching Node.js process with commandline options --enable-source-maps.
|
|
908
|
+
* @since v16.6.0
|
|
909
|
+
* @experimental
|
|
910
|
+
*/
|
|
911
|
+
setSourceMapsEnabled(value: boolean): void;
|
|
905
912
|
/**
|
|
906
913
|
* The `process.version` property contains the Node.js version string.
|
|
907
914
|
*
|