Joep van de Laarschot

Results 8 comments of Joep van de Laarschot

This doesn't work for me. I get another TypeScript error: `Duplicate identifier 'ComponentNameToClassKey'.` And the overrides still don't exist according to TypeScript.

These are the exact versions I'm on currently: ```json "@material-ui/core": "4.12.3" "@material-ui/icons": "4.11.2" "@types/node": "16.11.0" "@types/react": "17.0.30" "@types/react-dom": "17.0.9" "material-ui-dropzone": "3.5.0" "react": "17.0.2" "typescript": "4.4.4" ``` I get a different...

@AnthonyLzq ow, haha, I didn't see that. I'll see if I can fix that rule or ignore it then. Thanks for pointing that out.

This actually comes from the dependency `react-device-detect` uses: https://github.com/faisalman/ua-parser-js/issues/513

> Hello everyone, we have this in CI too, and this is not reproducible locally on developer machines. It happens randomly in CI but always on the same few tests....

I solved it by adding `resolutions` key to `package.json` and (re-)running `yarn install`. Add this to your package.json: ```json "resolutions": { "@types/react": "^18.0.0" } ```

I'm currently on `"[email protected]"`. With `"react-datepicker": "^6.2.0"` and `"@types/react-datepicker": "^6.0.2"` the "`"resolutions"` workaround" isn't needed.

Edit: thought I fixed it, but the error is back. ~~Fixed it~~ by manually converting the column/metric type to `float`. - Open Chronograf client `:8888` - Go to Explore tab...