diff --git a/tsconfig.json b/tsconfig.json index 94930baff..c9a9b7694 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,10 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "paths": { + "react": ["./node_modules/@types/react"] + } }, "exclude": ["./src/services/EcoBridge/Socket/api/generated"], "include": ["src"]