diff --git a/package.json b/package.json index 0c2f06b..263977e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@doist/todoist-api-typescript", - "version": "2.0.6", + "version": "2.0.7", "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 3ccbae1..6701210 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -24,7 +24,7 @@ export type OrderedEntity = TodoistEntity & { } export type EntityInHierarchy = OrderedEntity & { - parentId?: string + parentId?: string | null } export const DueDate = Record({