diff --git a/src/types/definitions.ts b/src/types/definitions.ts index 151f2251d..59f64464c 100644 --- a/src/types/definitions.ts +++ b/src/types/definitions.ts @@ -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]