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

Fix: add types to parameters #2479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Eshmanski
Copy link

@Eshmanski Eshmanski commented Dec 20, 2024

In the marker methods, I came into a type error.

One symbol can be specified when using the "setSymbol" method, but an array of symbols can be specified when creating a marker. There doesn't seem to be any justification for restricting the parameters that the function can take in because it utilizes a parent method that compares the type to an array.

This is also true for the "setInfoWindow" method, which verifies that the obtained argument is of the "InfoWindow" type.

@Eshmanski Eshmanski changed the title Fix: add types to arguments of marker methods Fix: add types to parameters Dec 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant