geostyler / geostyler-style

Style declaration files for the GeoStyler project
https://geostyler.github.io/geostyler-style/docs/master/
BSD 2-Clause "Simplified" License
16 stars 15 forks source link

Type instantiation is excessively deep and possibly infinite. #647

Open DLinser opened 1 month ago

DLinser commented 1 month ago

Bug

Describe the bug Error reported when using the 【Rule or Filter】 interface import { Rule as GeoRule, Filter as GeoFilter, } from 'geostyler-style' whenever I use GeoRule or GeoFilter,the error will show. The error message is "Type instantiation is excessively deep and possibly infinite."

KaiVolland commented 1 month ago

Hey @DLinser, thanks for the report.

Which TypeScript version do you use?

DLinser commented 1 month ago

@KaiVolland Thanks for the report. "geostyler-style": "^8.1.0",

KaiVolland commented 1 month ago

Thanks. But i was asking for the TypeScript version not the geostyler-style version. You should also upgrade to the latest geostyler-style if possible.