fix(deps): update dependency rehype-slug to v6 (#20) #109
Annotations
10 errors
build:
src/nodes/header.ts#L63
Type 'ElementContent | { type: "element"; tagName: string; children: { type: "text"; value: string; }[]; } | { type: "element"; tagName: string; children: { type: "text"; value: string; }[]; }' is not assignable to type 'ElementContent'.
|
build:
src/nodes/header.ts#L64
Type '{ type: "element"; tagName: string; children: { type: "text"; value: string; }[]; }' is not assignable to type 'ElementContent'.
|
build:
src/nodes/header.ts#L74
Type '{ type: "element"; tagName: string; children: { type: "text"; value: string; }[]; }' is not assignable to type 'ElementContent'.
|
build:
src/utils/create.ts#L76
Type '() => void | Transformer<Root, Root>' is not assignable to type 'Pluggable'.
|
build:
src/utils/create.ts#L81
Type '(options?: void | Options) => void | Transformer<Root, Root>' is not assignable to type 'Plugin<any[], any, any>'.
|
build:
src/utils/create.ts#L100
Argument of type '(options?: void | Options) => void | Transformer<Root, Root>' is not assignable to parameter of type 'Pluggable'.
|
build:
src/utils/create.ts#L146
Argument of type 'import("/home/runner/work/refs-cli/refs-cli/node_modules/@types/hast/index").ElementContent[]' is not assignable to parameter of type 'import("/home/runner/work/refs-cli/refs-cli/node_modules/rehype-document/node_modules/@types/hast/index").ElementContent[]'.
|
build:
src/utils/getSVGNode.ts#L15
Argument of type 'VFile' is not assignable to parameter of type 'Compatible'.
|
build:
src/utils/getSVGNode.ts#L15
Argument of type 'VFile' is not assignable to parameter of type 'Compatible'.
|
build:
src/utils/getSVGNode.ts#L23
Argument of type 'VFile' is not assignable to parameter of type 'Compatible'.
|