{ // Type-checks the TypeScript that runs in Node rather than in a page, a worker or k6: the tests, // the build and the home page's generator (#390, #392). Node runs them by stripping the types, so the // imports name their .ts files, and nothing is emitted. "compilerOptions": { "target": "es2022", "lib": ["es2022", "dom"], "module": "nodenext", "moduleResolution": "nodenext", "allowImportingTsExtensions": true, "noEmit": true, "strict": true, // Only what Node can strip: no enums, namespaces or constructor parameter properties. "erasableSyntaxOnly": true, "skipLibCheck": true, "types": ["node"] }, "include": ["target/page-types/web/src/*.d.ts", "tests/*.ts", "tests/ui/**/*.ts", "tests/load/run.ts", "web/*.mts", "site/*.mts", "playwright.config.ts"] }