Skip to content

Commit

Permalink
feat(types): support string id in CollectionItem
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed May 21, 2024
1 parent 32c84cc commit 0ad3e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type AnyObject = {

/** Any collection objects with an `id` prop. */
export interface CollectionItem {
id: number
id: number | string
}

export type Coordinates = [number, number]
Expand Down

0 comments on commit 0ad3e38

Please sign in to comment.