Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'addData' in type 'GeoJSONDirective<T>' is not assignable to the same property in base type #447

Open
iagsoncarlos opened this issue Jun 5, 2023 · 0 comments

Comments

@iagsoncarlos
Copy link

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
image

image

Environment (please complete the following information):

  • Base: [Angular]
  • Version [16]

Additional context
Change return Type to "this"

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant