Skip to content

Commit 14bc7e7

Browse files
committed
chore: Removed unneeded parse to number
1 parent 3c6e9e6 commit 14bc7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-carto/ui/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class AKMapEventListenerImpl extends NSObject implements AKMapEventListener {
118118
};
119119
},
120120
get clickType(): ClickType {
121-
return Number(mapClickInfo.getClickType());
121+
return mapClickInfo.getClickType() as number;
122122
},
123123
get position() {
124124
return fromNativeMapPos(mapClickInfo.getClickPos());

0 commit comments

Comments
 (0)