Open pookdeveloper opened 1 year ago
To make these errors go away, you can either add skipLibCheck: true
to the compilerOptions
of your tsconfig.json
, or run npm install @types/topojson-specification
.
Could you update the dependencies of openlayers to include thoses types ?
skipLibCheck
is not a viable solution (without the possibility the disable for specific libs, which TS does not allow yet)
having to manually manage a third-third-party dependencies is cumbersome
@mistic100 https://github.com/openlayers/openlayers/issues/14496#issuecomment-1425548322 did not work for you?
Yes it does but it should not be necessary.
@mistic100 You could submit a pull request that moves @types/topojson-specification
from the devDependencies
to the dependencies
. Then it won't be necessary in the future any more. Same for @types/geojson
.
Describe the bug Latest version 7.2.2 doesn't compile
To Reproduce install version 7.2.2 My typescript version is: "typescript": "~4.9.5"
Expected behavior A clear and concise description of what you expected to happen.