From 519bece35b2ecdc9e37ae4f8db205df535a80598 Mon Sep 17 00:00:00 2001 From: Frostime Date: Sat, 8 Jul 2023 15:45:26 +0800 Subject: [PATCH] Update index.d.ts, fix ial type --- src/types/index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/types/index.d.ts b/src/types/index.d.ts index 96110dc..68416a0 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -50,7 +50,10 @@ type Block = { length: number; type: BlockType; subtype: BlockSubType; - ial?: { [key: string]: string }; + /** string of { [key: string]: string } + * For instance: "{: custom-type=\"query-code\" id=\"20230613234017-zkw3pr0\" updated=\"20230613234509\"}" + */ + ial?: string; sort: number; created: string; updated: string; @@ -63,4 +66,4 @@ type doOperation = { parentID: BlockId | DocumentId; previousID: BlockId; retData: null; -} \ No newline at end of file +}