Skip to content

Commit

Permalink
fix: 类型错误
Browse files Browse the repository at this point in the history
修正 GeoJSONGetOverlayCallBack 类型
  • Loading branch information
xyy94813 committed Jun 14, 2023
1 parent 535af56 commit 84f4c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@types/AMap.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ declare global {
export interface GeoJSONGetOverlayCallBack {
(
geojson?: GeoJSON.GeoJSON,
lnglat?: GeoJSON.Point[] | GeoJSON.Point[][] | GeoJSON.Point[][][],
lnglat?: GeoJSON.Position[] | GeoJSON.Position[][] | GeoJSON.Position[][][],
): any;
}

Expand Down

0 comments on commit 84f4c24

Please sign in to comment.