File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11import type { Literal } from 'hast'
22
3+ /* eslint-disable @typescript-eslint/consistent-type-definitions */
4+
35export interface Raw extends Literal {
46 type : 'raw'
57}
@@ -13,3 +15,5 @@ declare module 'hast' {
1315 raw : Raw
1416 }
1517}
18+
19+ /* eslint-enable @typescript-eslint/consistent-type-definitions */
Original file line number Diff line number Diff line change 6363 "typescript" : " ^4.0.0" ,
6464 "unified" : " ^10.0.0" ,
6565 "unist-builder" : " ^3.0.0" ,
66- "xo" : " ^0.50 .0"
66+ "xo" : " ^0.52 .0"
6767 },
6868 "scripts" : {
6969 "prepack" : " npm run build && npm run format" ,
Original file line number Diff line number Diff line change 11import type { Parent , Literal } from 'hast'
22
3+ /* eslint-disable @typescript-eslint/consistent-type-definitions */
4+
35export interface CustomParent extends Parent {
46 type : 'customParent'
57}
@@ -19,3 +21,5 @@ declare module 'hast' {
1921 customParent : CustomParent
2022 }
2123}
24+
25+ /* eslint-enable @typescript-eslint/consistent-type-definitions */
You can’t perform that action at this time.
0 commit comments