diff --git a/superset-frontend/tsconfig.json b/superset-frontend/tsconfig.json index 6a8959e1c..b158eebfb 100644 --- a/superset-frontend/tsconfig.json +++ b/superset-frontend/tsconfig.json @@ -16,6 +16,11 @@ "noUnusedLocals": true, "outDir": "./dist", "pretty": true, + "paths": { + // for supressing errors caused by incompatible @types/react when `npm link` + // Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222 + "*": ["./node_modules/@types/*", "*"] + }, "skipLibCheck": true, "sourceMap": true, "strictNullChecks": true,