feat: add rules #2363
Annotations
6 errors and 1 warning
build (16.x, ubuntu-latest):
packages/ui/src/DateRanger/PickerPanel.tsx#L169
Argument of type '([, eDate]: [] | [Moment, Moment] | [Dayjs, Dayjs]) => [Moment | Dayjs, Moment | Dayjs]' is not assignable to parameter of type 'SetStateAction<[] | [Moment, Moment] | [Dayjs, Dayjs]>'.
|
build (16.x, ubuntu-latest):
packages/ui/src/DateRanger/PickerPanel.tsx#L205
Argument of type '([sDate]: [] | [Moment, Moment] | [Dayjs, Dayjs]) => [Moment | Dayjs, Moment | Dayjs]' is not assignable to parameter of type 'SetStateAction<[] | [Moment, Moment] | [Dayjs, Dayjs]>'.
|
build (16.x, ubuntu-latest):
packages/ui/src/DateRanger/PickerPanel.tsx#L311
Property 'validator' does not exist on type 'Rule'. Did you mean 'validate'?
|
build (16.x, ubuntu-latest):
packages/ui/src/DateRanger/PickerPanel.tsx#L312
Property 'validator' does not exist on type 'Rule'. Did you mean 'validate'?
|
build (16.x, ubuntu-latest):
packages/ui/src/DateRanger/Ranger.tsx#L363
Property 'validateTrigger' is missing in type '{ defaultValue: RangeValue; locale: any; tip: string; isMoment: boolean; rules: Rule[]; onOk: (vList: RangeValue) => void; onCancel: () => void; }' but required in type 'PickerPanelProps'.
|
build (16.x, ubuntu-latest)
Process completed with exit code 1.
|
build (16.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|