Skip to content

Commit 45dd008

Browse files
authored
fix: Allow null values for EntityInHierarchy.parentId (#159)
fix: Allow null values for EntityInHierarchy.parentId
1 parent 5013d05 commit 45dd008

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@doist/todoist-api-typescript",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
44
"description": "A typescript wrapper for the Todoist REST API.",
55
"author": "Doist developers",
66
"repository": "[email protected]:doist/todoist-api-typescript.git",

src/types/entities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type OrderedEntity = TodoistEntity & {
2424
}
2525

2626
export type EntityInHierarchy = OrderedEntity & {
27-
parentId?: string
27+
parentId?: string | null
2828
}
2929

3030
export const DueDate = Record({

0 commit comments

Comments
 (0)