From d566c27a75af4d95d89bd22ca42a8a75a7ed6667 Mon Sep 17 00:00:00 2001 From: Francesca Guiducci Date: Tue, 11 Oct 2022 10:44:16 -0500 Subject: [PATCH] fix: Change EntityInHierarchy.parentId to string (#157) fix: Change EntityInHierarchy.parentId to string --- package.json | 2 +- src/types/entities.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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({