Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions types/node/process.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,11 @@ declare module "node:process" {
* @param args Additional arguments to pass when invoking the `callback`
*/
nextTick(callback: Function, ...args: any[]): void;
/**
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
*/
noDeprecation?: boolean;
/**
* This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
*
Expand Down
5 changes: 5 additions & 0 deletions types/node/v20/process.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,11 @@ declare module "process" {
* @param args Additional arguments to pass when invoking the `callback`
*/
nextTick(callback: Function, ...args: any[]): void;
/**
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
*/
noDeprecation?: boolean;
/**
* This API is available through the [--experimental-permission](https://nodejs.org/api/cli.html#--experimental-permission) flag.
*
Expand Down
4 changes: 4 additions & 0 deletions types/node/v20/test/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ process.env.TZ = "test";
process.getActiveResourcesInfo(); // $ExpectType string[]
}

{
process.noDeprecation; // $ExpectType boolean | undefined
}

{
process.permission.has("fs.read"); // $ExpectType boolean
process.permission.has("fs.read", "./README.md"); // $ExpectType boolean
Expand Down
5 changes: 5 additions & 0 deletions types/node/v22/process.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,11 @@ declare module "process" {
* @param args Additional arguments to pass when invoking the `callback`
*/
nextTick(callback: Function, ...args: any[]): void;
/**
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
*/
noDeprecation?: boolean;
/**
* This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
*
Expand Down
4 changes: 4 additions & 0 deletions types/node/v22/test/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ process.env.TZ = "test";
process.getActiveResourcesInfo(); // $ExpectType string[]
}

{
process.noDeprecation; // $ExpectType boolean | undefined
}

{
process.permission.has("fs.read"); // $ExpectType boolean
process.permission.has("fs.read", "./README.md"); // $ExpectType boolean
Expand Down
5 changes: 5 additions & 0 deletions types/node/v24/process.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,11 @@ declare module "process" {
* @param args Additional arguments to pass when invoking the `callback`
*/
nextTick(callback: Function, ...args: any[]): void;
/**
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
*/
noDeprecation?: boolean;
/**
* This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
*
Expand Down
4 changes: 4 additions & 0 deletions types/node/v24/test/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ process.env.TZ = "test";
process.getActiveResourcesInfo(); // $ExpectType string[]
}

{
process.noDeprecation; // $ExpectType boolean | undefined
}

{
process.permission.has("fs.read"); // $ExpectType boolean
process.permission.has("fs.read", "./README.md"); // $ExpectType boolean
Expand Down