Add Material-UI type definitions to fix linter errors
This commit is contained in:
@@ -11,7 +11,7 @@ COPY backend/package*.json ./backend/
|
||||
|
||||
# Install dependencies
|
||||
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 . .
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/axios": "^0.14.0",
|
||||
"@mui/types": "^7.2.4",
|
||||
"@types/mui": "^0.0.1",
|
||||
"typescript": "^4.9.5",
|
||||
"react-scripts": "5.0.1"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user