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

feat(google-maps): switch to non-deprecated typings #23350

Merged

Conversation

crisbeto
Copy link
Member

Moves the google-maps package away from the deprecated typings.

Fixes #22818.

@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release labels Aug 11, 2021
@crisbeto crisbeto added this to the 13.0.0 milestone Aug 11, 2021
@crisbeto crisbeto requested a review from jelbourn August 11, 2021 20:15
@crisbeto crisbeto requested a review from a team as a code owner August 11, 2021 20:15
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 11, 2021
src/google-maps/google-map/google-map.ts Outdated Show resolved Hide resolved
callback: Function) => {
callback(result, status);
const result: google.maps.DirectionsResult = {routes: []};
const status = 'OK' as google.maps.DirectionsStatus;
Copy link
Member Author

Choose a reason for hiding this comment

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

I can't use the enum in tests, because we don't actually load the API.

@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from 63e2ec7 to 7b0cd0f Compare August 11, 2021 20:18
@josephperrott josephperrott removed the request for review from a team August 12, 2021 16:50
@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from 7b0cd0f to e47ff9f Compare August 18, 2021 16:23
@crisbeto
Copy link
Member Author

cc @jelbourn

@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from e47ff9f to 06c5972 Compare August 25, 2021 16:11
package.json Show resolved Hide resolved
src/google-maps/google-map/google-map.ts Outdated Show resolved Hide resolved
@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from 06c5972 to 2a6d926 Compare August 29, 2021 13:20
@crisbeto
Copy link
Member Author

The feedback has been addressed.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn
Copy link
Member

Just realized that we should also add a breaking changes note to the commit

@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from 2a6d926 to 6c341e9 Compare August 30, 2021 18:48
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Aug 30, 2021
@crisbeto crisbeto force-pushed the 22818/google-maps-deprecated-typings branch from 6c341e9 to ca39616 Compare August 30, 2021 18:51
Moves the `google-maps` package away from the deprecated typings.

Fixes angular#22818.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(@angular/google-maps): @types/googlemaps is deprecated in favor of @types/google.maps
4 participants