playwright/packages/trace-viewer/tsconfig.json
2023-03-14 15:58:55 -07:00

36 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": true,
"skipLibCheck": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@injected/*": ["../playwright-core/src/server/injected/*"],
"@isomorphic/*": ["../playwright-core/src/utils/isomorphic/*"],
"@protocol/*": ["../protocol/src/*"],
"@recorder/*": ["../recorder/src/*"],
"@testIsomorphic/*": ["../playwright-test/src/isomorphic/*"],
"@trace/*": ["../trace/src/*"],
"@web/*": ["../web/src/*"],
// Resolving type dependencies will start processing types in @playwright/test
// which in turn will start parsing the files and hence stumble upon the core
// imports.
"playwright-core/lib/*": ["../playwright-core/src/*"],
},
"useUnknownInCatchVariables": false,
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}