fix(deps): update dependency rehype-raw to v7 (#19) #111
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("D:/a/refs-cli/refs-cli/node_modules/@types/hast/index").ElementContent[]' is not assignable to parameter of type 'import("D:/a/refs-cli/refs-cli/node_modules/rehype-rewrite/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'.
|
build:
src/utils/getSVGNode.ts#L23
Argument of type 'VFile' is not assignable to parameter of type 'Compatible'.
|
build:
src/utils/getTocsTree.ts#L21
Argument of type 'import("D:/a/refs-cli/refs-cli/node_modules/@types/hast/index").ElementContent[]' is not assignable to parameter of type 'import("D:/a/refs-cli/refs-cli/node_modules/rehype-rewrite/node_modules/@types/hast/index").ElementContent[]'.
|