Skip to content

Commit d566c27

Browse files
authored
fix: Change EntityInHierarchy.parentId to string (#157)
fix: Change EntityInHierarchy.parentId to string
1 parent 4a96c98 commit d566c27

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.5",
3+
"version": "2.0.6",
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?: number
27+
parentId?: string
2828
}
2929

3030
export const DueDate = Record({

0 commit comments

Comments
 (0)