You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Property 'addData' in type 'GeoJSONDirective' is not assignable to the same property in base type 'GeoJSON<any, Geometry>'.
The Type '(data: Feature<Geometry, T>) => Layer' is not assignable to type '(data: GeoJsonObject) => this'.
Screenshots
Environment (please complete the following information):
Base: [Angular]
Version [16]
Additional context
Change return Type to "this"
The text was updated successfully, but these errors were encountered:
Describe the bug
Property 'addData' in type 'GeoJSONDirective' is not assignable to the same property in base type 'GeoJSON<any, Geometry>'.
The Type '(data: Feature<Geometry, T>) => Layer' is not assignable to type '(data: GeoJsonObject) => this'.
Screenshots
Environment (please complete the following information):
Additional context
Change return Type to "this"
The text was updated successfully, but these errors were encountered: