diff --git a/share-now/tabs/package.json b/share-now/tabs/package.json index 9d63471d..67afb5fc 100644 --- a/share-now/tabs/package.json +++ b/share-now/tabs/package.json @@ -23,12 +23,7 @@ "tslib": "^2.0.0", "typescript": "^4.2.4" }, - "resolutions": { - "@types/react": "16.8.0", - "@types/react-dom": "16.8.0" - }, "scripts": { - "preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions", "dev:teamsfx": "env-cmd --silent -f .env.teamsfx.local npm run start", "start": "react-scripts start", "build": "react-scripts build", @@ -61,4 +56,4 @@ "@types/react-router-dom": "^4.3.3", "env-cmd": "^10.1.0" } -} \ No newline at end of file +} diff --git a/share-now/tabs/tsconfig.json b/share-now/tabs/tsconfig.json index b5f23748..cd207734 100644 --- a/share-now/tabs/tsconfig.json +++ b/share-now/tabs/tsconfig.json @@ -7,6 +7,9 @@ "esnext", "ES2015" ], + "paths": { + "react": [ "./node_modules/@types/react" ] + }, "allowJs": true, "skipLibCheck": true, "esModuleInterop": true,