Skip to content

Commit 9f78ae0

Browse files
committed
declare attribute type to contain location
1 parent 1bd6f2e commit 9f78ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ export type UnorderedListItemNode = {
189189
name: 'unordered-list-item';
190190
contents: FragmentNode[];
191191
sublist: ListNode | null;
192-
attrs: { key: string; value: string }[];
192+
attrs: { key: string; value: string; location: LocationRange }[];
193193
location: LocationRange;
194194
};
195195

196196
export type OrderedListItemNode = {
197197
name: 'ordered-list-item';
198198
contents: FragmentNode[];
199199
sublist: ListNode | null;
200-
attrs: { key: string; value: string }[];
200+
attrs: { key: string; value: string; location: LocationRange }[];
201201
location: LocationRange;
202202
};
203203

0 commit comments

Comments
 (0)