Skip to content

Commit 7917f28

Browse files
committed
Update types.ts
1 parent a8b6522 commit 7917f28

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/types.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ type DecorationContext = Readonly<{
2525
link?: boolean;
2626
}>;
2727

28-
type BulletList = Readonly<{
29-
type: "bullet";
30-
}>;
31-
type OrderedList = Readonly<{
32-
type: "ordered";
33-
reference: string;
34-
}>;
35-
type TaskList = Readonly<{
36-
type: "task";
37-
checked: boolean;
38-
}>;
39-
4028
export type ListContext = Readonly<{
4129
level: number;
42-
meta: BulletList | OrderedList | TaskList;
30+
meta: Readonly<
31+
| {
32+
type: "bullet";
33+
}
34+
| {
35+
type: "ordered";
36+
reference: string;
37+
}
38+
| {
39+
type: "task";
40+
checked: boolean;
41+
}
42+
>;
4343
}>;
4444

4545
export type FootnoteRegistry = {

0 commit comments

Comments
 (0)