File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { convertElement } from 'hast-util-is-element'
2
2
import { hasProperty } from 'hast-util-has-property'
3
3
import { embedded } from 'hast-util-embedded'
4
+ // @ts -expect-error: to do types.
4
5
import bodyOkLink from 'hast-util-is-body-ok-link'
5
6
6
7
const basic = convertElement ( [
@@ -61,7 +62,7 @@ const meta = convertElement('meta')
61
62
*/
62
63
export function phrasing ( node ) {
63
64
return (
64
- // @ts -ignore Looks like a text.
65
+ // @ts -expect-error Looks like a text.
65
66
( node && node . type === 'text' ) ||
66
67
basic ( node ) ||
67
68
embedded ( node ) ||
Original file line number Diff line number Diff line change 10
10
"declaration" : true ,
11
11
"emitDeclarationOnly" : true ,
12
12
"allowSyntheticDefaultImports" : true ,
13
- "skipLibCheck" : true
13
+ "skipLibCheck" : true ,
14
+ "strict" : true
14
15
}
15
16
}
You can’t perform that action at this time.
0 commit comments