Skip to content

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
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
@jelbourn jelbourn requested a review from mbehrlich August 28, 2021 15:06
@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