Add Material-UI type definitions to fix linter errors

This commit is contained in:
Your Name
2025-04-29 18:29:53 -04:00
parent c598640cdd
commit 3dc74413d2
2 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ COPY backend/package*.json ./backend/
# Install dependencies # Install dependencies
RUN npm install RUN npm install
RUN cd frontend && npm install --save-dev @types/react @types/react-dom @types/react-router-dom @types/axios RUN cd frontend && npm install --save-dev @types/react @types/react-dom @types/react-router-dom @types/axios @mui/types @types/mui
# Copy source files # Copy source files
COPY . . COPY . .

View File

@@ -23,6 +23,8 @@
"@types/react-dom": "^18.2.7", "@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@types/axios": "^0.14.0", "@types/axios": "^0.14.0",
"@mui/types": "^7.2.4",
"@types/mui": "^0.0.1",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"react-scripts": "5.0.1" "react-scripts": "5.0.1"
}, },