Skip to content

fix(types/index.d.ts): include padding parameter in fitBounds call signature #766

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

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

Conversation

Asvarox
Copy link

@Asvarox Asvarox commented Feb 6, 2018

As per https://developers.google.com/maps/documentation/javascript/reference . Noticed it when rewriting one of the components to TypeScript lighted up all the usages of this method.

Copy link

@sunaurus sunaurus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type of padding should actually be number|Padding as per https://developers.google.com/maps/documentation/javascript/reference/3.exp/map#Map.fitBounds

@andreiho
Copy link

@tomchentw Why is this not merged yet?

@andreiho
Copy link

andreiho commented Sep 10, 2018

Created a new PR with the correct types: #906

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.

3 participants