Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 2563cae

Browse files
srisumanthsebholstein
authored andcommitted
fix(AgmPolygon): createPolygon type fix
1 parent 98be586 commit 2563cae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/services/google-maps-api-wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class GoogleMapsAPIWrapper {
7171
});
7272
}
7373

74-
createPolygon(options: mapTypes.PolygonOptions): Promise<mapTypes.Polyline> {
74+
createPolygon(options: mapTypes.PolygonOptions): Promise<mapTypes.Polygon> {
7575
return this.getNativeMap().then((map: mapTypes.GoogleMap) => {
7676
let polygon = new google.maps.Polygon(options);
7777
polygon.setMap(map);

0 commit comments

Comments
 (0)