diff --git a/package.json b/package.json index 994f0cc..0c2f06b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@doist/todoist-api-typescript", - "version": "2.0.5", + "version": "2.0.6", "description": "A typescript wrapper for the Todoist REST API.", "author": "Doist developers", "repository": "git@github.com:doist/todoist-api-typescript.git", diff --git a/src/types/entities.ts b/src/types/entities.ts index 90fdbc8..3ccbae1 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -24,7 +24,7 @@ export type OrderedEntity = TodoistEntity & { } export type EntityInHierarchy = OrderedEntity & { - parentId?: number + parentId?: string } export const DueDate = Record({