Skip to content

Commit 1031508

Browse files
committed
Fix xo
1 parent 56f94d4 commit 1031508

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test-types.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
import {Literal} from 'mdast'
1+
import type {Literal} from 'mdast'
22

3+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
34
interface Toml extends Literal {
45
type: 'toml'
56
}
67

8+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
79
interface Json extends Literal {
810
type: 'json'
911
}
1012

13+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
1114
interface Custom extends Literal {
1215
type: 'custom'
1316
}
1417

1518
declare module 'mdast' {
19+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
1620
interface FrontmatterContentMap {
1721
toml: Toml
1822
custom: Custom

0 commit comments

Comments
 (0)