We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b6522 commit 7917f28Copy full SHA for 7917f28
1 file changed
src/types.ts
@@ -25,21 +25,21 @@ type DecorationContext = Readonly<{
25
link?: boolean;
26
}>;
27
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
-
40
export type ListContext = Readonly<{
41
level: number;
42
- meta: BulletList | OrderedList | TaskList;
+ meta: Readonly<
+ | {
+ type: "bullet";
+ }
+ type: "ordered";
+ reference: string;
+ type: "task";
+ checked: boolean;
+ >;
43
44
45
export type FootnoteRegistry = {
0 commit comments