Skip to content

Commit 77e337b

Browse files
authored
Merge pull request #18 from siyuan-note/frostime-patch-3
Update index.d.ts, fix ial type
2 parents f0ef27e + 519bece commit 77e337b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/types/index.d.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ type Block = {
5050
length: number;
5151
type: BlockType;
5252
subtype: BlockSubType;
53-
ial?: { [key: string]: string };
53+
/** string of { [key: string]: string }
54+
* For instance: "{: custom-type=\"query-code\" id=\"20230613234017-zkw3pr0\" updated=\"20230613234509\"}"
55+
*/
56+
ial?: string;
5457
sort: number;
5558
created: string;
5659
updated: string;
@@ -63,4 +66,4 @@ type doOperation = {
6366
parentID: BlockId | DocumentId;
6467
previousID: BlockId;
6568
retData: null;
66-
}
69+
}

0 commit comments

Comments
 (0)