Skip to content

Commit

Permalink
refactor: use array notation for polygon type
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniAkash committed May 2, 2024
1 parent 350171a commit c93eef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export type PaginationRequestParams<T extends Record<string, unknown>> =
| Record<string, never>;

export type Point = [number, number];
export type Polygon = Array<Point>;
export type Polygon = Point[];

0 comments on commit c93eef4

Please sign in to comment.