Skip to content

Commit 38c1a05

Browse files
committed
Fixed type error
1 parent 8a44cf0 commit 38c1a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/passengers/components/smart/trip-planner/trip-planner.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class TripPlannerComponent implements OnInit {
112112
this.estimatedDistance = this.service.estimatedDistance;
113113
}
114114

115-
setInitialCords() {
115+
setInitialCords(): any {
116116
return new Promise((resolve, reject) => {
117117
if ('geolocation' in navigator) {
118118
navigator.geolocation.getCurrentPosition((position) => {

0 commit comments

Comments
 (0)