fix(deps): update dependency unified to v11 (#17) #113
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#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-rewrite/node_modules/@types/hast/index").ElementContent[]'.
|
build:
src/utils/getSVGNode.ts#L12
Argument of type 'Plugin<[Options?] | void[], string, Root>' is not assignable to parameter of type 'Plugin<[Options?] | void[], undefined, undefined>'.
|
build:
src/utils/getSVGNode.ts#L20
Argument of type 'Plugin<[Options?] | void[], string, Root>' is not assignable to parameter of type 'Plugin<[Options?] | void[], undefined, undefined>'.
|
build:
src/utils/getTocsTree.ts#L21
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-rewrite/node_modules/@types/hast/index").ElementContent[]'.
|
build:
src/utils/homeCardIcons.ts#L42
Property 'properties' is missing in type '{ type: "element"; tagName: string; children: ElementContent[]; }' but required in type 'Element'.
|
build:
src/utils/homeCardIcons.ts#L47
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-rewrite/node_modules/@types/hast/index").ElementContent[]'.
|