Skip to content

Commit

Permalink
docs: usePoint ts 类型内容更改
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Dec 14, 2022
1 parent 5abcc8d commit ded9ea4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/zh-CN/hooks/usePoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const { point, set } = usePoint()

```ts
import { Ref } from 'vue'
import { Point } from '../utils'
/**
* 地图经纬度点
*/
Expand All @@ -69,6 +70,6 @@ export declare function usePoint(): {
/**
* 设置实例点坐标
*/
set: ({ lng, lat }: { lng: number; lat: number }) => void
set: ({ lng, lat }: Point) => void
}
```

0 comments on commit ded9ea4

Please sign in to comment.