playwright.config.ts:3:15 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
3 const isDev = process.env["NODE_ENV"] !== "production";
~~~~~~~
playwright.config.ts:12:8 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
12 ...process.env,
~~~~~~~
playwright.config.ts:25:17 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
25 forbidOnly: !!process.env["CI"],
~~~~~~~
Found 3 errors in the same file, starting at: playwright.config.ts:3
No output.
Steps to reproduce
https://github.com/s-h-a-d-o-w/tsgo-repro/tree/node-globals
Behavior with
"typescript": "6.0.0-dev.20260307"Behavior with "@typescript/native-preview": "7.0.0-dev.20260307.1",
No output.