Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: add missing path mappings to devtools tsconfig for watch mode (#39392)

Yury Semikhatskyf1e16b656369
diff --git a/packages/devtools/tsconfig.json b/packages/devtools/tsconfig.json
index 6a5e455746..a812bf63e9 100644
--- a/packages/devtools/tsconfig.json
+++ b/packages/devtools/tsconfig.json
@@ -4,7 +4,7 @@
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": true,
- "skipLibCheck": false,
+ "skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
@@ -16,9 +16,14 @@
"jsx": "react-jsx",
"useUnknownInCatchVariables": false,
"paths": {
+ "@devtools/*": ["./src/*"],
+ "@injected/*": ["../injected/src/*"],
"@isomorphic/*": ["../playwright-core/src/utils/isomorphic/*"],
"@protocol/*": ["../protocol/src/*"],
+ "@recorder/*": ["../recorder/src/*"],
+ "@trace/*": ["../trace/src/*"],
"@web/*": ["../web/src/*"],
+ "playwright-core/lib/*": ["../playwright-core/src/*"],
}
},
"include": ["src"],