Update dependency @babel/types to v7.26.5 #1090
Annotations
11 errors
|
yarn install, lint, and test:
src/plugins/react-html/index.ts#L39
Argument of type 'Node' is not assignable to parameter of type 'Node | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react-html/index.ts#L42
Argument of type 'Program' is not assignable to parameter of type 'Node'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L68
Argument of type 'File | NodePath<Node>' is not assignable to parameter of type 'Node | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L69
Argument of type 'File' is not assignable to parameter of type 'Node | Node[] | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L119
Argument of type 'File | NodePath<Node>' is not assignable to parameter of type 'Node | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L120
Argument of type 'File' is not assignable to parameter of type 'Node | Node[] | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L134
Argument of type 'Node' is not assignable to parameter of type 'Node | Node[] | null | undefined'.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L172
The inferred type of 'getRootPath' cannot be named without a reference to '@babel/generator/node_modules/@babel/types'. This is likely not portable. A type annotation is necessary.
|
yarn install, lint, and test:
src/plugins/react/ast-utils.ts#L186
Argument of type 'JSXElement' is not assignable to parameter of type 'Node'.
|
yarn install, lint, and test:
src/plugins/react/index.ts#L28
Argument of type 'Node' is not assignable to parameter of type 'Node | null | undefined'.
|
Loading