Skip to content

chore(TS): fix TS type error #7748

chore(TS): fix TS type error

chore(TS): fix TS type error #7748

Triggered via pull request December 4, 2024 10:13
Status Failure
Total duration 5m 43s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build (16.x, ubuntu-latest): packages/field/src/index.tsx#L225
Type '{ children: ProFieldTextType; }' is not assignable to type '{ children?: ReactNode; }'.
build (16.x, ubuntu-latest): packages/field/src/index.tsx#L235
Type '{ children: ProFieldTextType; }' is not assignable to type '{ children?: ReactNode; }'.
build (16.x, ubuntu-latest): packages/layout/src/demos/customSider.tsx#L103
Type '{ children: (void | ReactNode)[]; }' is not assignable to type '{ children?: ReactNode; }'.
build (16.x, ubuntu-latest)
Process completed with exit code 1.
build (16.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636