Skip to content

fix: radio type

fix: radio type #4333

Triggered via pull request November 11, 2024 13:53
@oasis-cloudoasis-cloud
synchronize #2735
Status Failure
Total duration 1m 21s
Artifacts

ci.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
build: src/packages/radio/radio.taro.tsx#L159
Property 'Group' does not exist on type 'FC<Partial<RadioProps> & Omit<HTMLAttributes<HTMLDivElement>, "onChange">>'.
build: src/packages/radio/radio.tsx#L152
Property 'Group' does not exist on type 'FunctionComponent<Partial<RadioProps> & Omit<HTMLAttributes<HTMLDivElement>, "onChange">>'.
build: src/packages/radiogroup/radiogroup.taro.tsx#L101
Type '{ children: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | Element[] | null | undefined; ... 260 more ...; className: string; }' is not assignable to type 'ViewProps'.
build
Process completed with exit code 2.
add-label
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-add-labels@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
add-label
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-ecosystem/action-add-labels@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/packages/avatar/avatar.taro.tsx#L122
React Hook useEffect has a missing dependency: 'groupMax'. Either include it or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L176
React Hook useEffect has a missing dependency: 'canvasAll'. Either include it or remove the dependency array. You can also do a functional update 'setCanvasAll(c => ...)' if you only need 'canvasAll' in the 'setCanvasAll' call
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L188
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L270
React Hook useCallback has missing dependencies: 'pixelRatio' and 'space'. Either include them or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L287
React Hook useCallback has missing dependencies: 'canvasAll.canvasId', 'state.displayHeight', and 'state.displayWidth'. Either include them or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L344
React Hook useCallback has missing dependencies: 'alipayDraw', 'canvasAll', 'showAlipayCanvas2D', 'space', 'state', and 'webDraw'. Either include them or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.tsx#L126
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
lint: src/packages/badge/badge.taro.tsx#L92
React Hook useEffect has a missing dependency: 'getPositionStyle'. Either include it or remove the dependency array
lint: src/packages/barrage/barrage.taro.tsx#L104
React Hook useEffect has a missing dependency: 'run'. Either include it or remove the dependency array
lint: src/packages/barrage/barrage.tsx#L83
React Hook useEffect has a missing dependency: 'run'. Either include it or remove the dependency array