Skip to content

Commit

Permalink
Fix the process problem
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed May 8, 2024
1 parent 548145e commit cc43b8c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions typings/gutenberg-env/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ interface Environment {
IS_GUTENBERG_PLUGIN?: boolean;
IS_WORDPRESS_CORE?: boolean;
}
interface Process {
env: Environment;

declare namespace NodeJS {
export interface ProcessEnv extends Environment {}

export interface Process {
env: ProcessEnv;
}
}
declare var process: Process;

declare var process: NodeJS.Process;

declare var SCRIPT_DEBUG: boolean;

0 comments on commit cc43b8c

Please sign in to comment.