Skip to content

Commit f43107d

Browse files
🤖 Merge PR DefinitelyTyped#74581 [node] ProcessEnv: remove TZ property, fall back to index signature by @YevheniiKotyrlo
1 parent 1f04945 commit f43107d

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

‎types/node/process.d.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,7 @@ declare module "node:process" {
465465
isTTY?: true | undefined;
466466
}
467467
// Alias for compatibility
468-
interface ProcessEnv extends Dict<string> {
469-
/**
470-
* Can be used to change the default timezone at runtime
471-
*/
472-
TZ?: string | undefined;
473-
}
468+
interface ProcessEnv extends Dict<string> {}
474469
interface HRTime {
475470
/**
476471
* This is the legacy version of {@link process.hrtime.bigint()}

‎types/node/v20/process.d.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,7 @@ declare module "process" {
321321
isTTY?: true | undefined;
322322
}
323323
// Alias for compatibility
324-
interface ProcessEnv extends Dict<string> {
325-
/**
326-
* Can be used to change the default timezone at runtime
327-
*/
328-
TZ?: string | undefined;
329-
}
324+
interface ProcessEnv extends Dict<string> {}
330325
interface HRTime {
331326
/**
332327
* This is the legacy version of {@link process.hrtime.bigint()}

‎types/node/v22/process.d.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,7 @@ declare module "process" {
346346
isTTY?: true | undefined;
347347
}
348348
// Alias for compatibility
349-
interface ProcessEnv extends Dict<string> {
350-
/**
351-
* Can be used to change the default timezone at runtime
352-
*/
353-
TZ?: string | undefined;
354-
}
349+
interface ProcessEnv extends Dict<string> {}
355350
interface HRTime {
356351
/**
357352
* This is the legacy version of {@link process.hrtime.bigint()}

‎types/node/v24/process.d.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,12 +344,7 @@ declare module "process" {
344344
isTTY?: true | undefined;
345345
}
346346
// Alias for compatibility
347-
interface ProcessEnv extends Dict<string> {
348-
/**
349-
* Can be used to change the default timezone at runtime
350-
*/
351-
TZ?: string | undefined;
352-
}
347+
interface ProcessEnv extends Dict<string> {}
353348
interface HRTime {
354349
/**
355350
* This is the legacy version of {@link process.hrtime.bigint()}

0 commit comments

Comments
 (0)