Skip to content

Commit c0a433b

Browse files
committed
Update dev-dependencies
1 parent 6eff10c commit c0a433b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

index.test-d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-empty-function */
22

33
import {expectError, expectType} from 'tsd'
4-
import {Node, Parent, Literal} from 'unist'
4+
import type {Node, Parent, Literal} from 'unist'
55
import {is} from 'unist-util-is'
66
import {visit, SKIP, EXIT, CONTINUE} from './index.js'
77

@@ -31,6 +31,7 @@ const complexTree: Root = {
3131
]
3232
}
3333

34+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
3435
interface Element extends Parent {
3536
type: 'element'
3637
tagName: string
@@ -41,36 +42,42 @@ interface Element extends Parent {
4142

4243
type Content = Flow | Phrasing
4344

45+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
4446
interface Root extends Parent {
4547
type: 'root'
4648
children: Array<Flow>
4749
}
4850

4951
type Flow = Blockquote | Heading | Paragraph
5052

53+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
5154
interface Blockquote extends Parent {
5255
type: 'blockquote'
5356
children: Array<Flow>
5457
}
5558

59+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
5660
interface Heading extends Parent {
5761
type: 'heading'
5862
depth: number
5963
children: Array<Phrasing>
6064
}
6165

66+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
6267
interface Paragraph extends Parent {
6368
type: 'paragraph'
6469
children: Array<Phrasing>
6570
}
6671

6772
type Phrasing = Text | Emphasis
6873

74+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
6975
interface Emphasis extends Parent {
7076
type: 'emphasis'
7177
children: Array<Phrasing>
7278
}
7379

80+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
7481
interface Text extends Literal {
7582
type: 'text'
7683
value: string

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
"remark-preset-wooorm": "^9.0.0",
6464
"rimraf": "^3.0.0",
6565
"tape": "^5.0.0",
66-
"tsd": "^0.22.0",
66+
"tsd": "^0.25.0",
6767
"type-coverage": "^2.0.0",
6868
"typescript": "^4.7.0",
69-
"xo": "^0.51.0"
69+
"xo": "^0.53.0"
7070
},
7171
"scripts": {
7272
"prepack": "npm run build && npm run format",

0 commit comments

Comments
 (0)