You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
dolphinscheduler-3.2.2-release
dolphinscheduler-ui model,run pnpm run build:prod,Reported some errors:
src/views/projects/workflow/definition/timing/index.tsx:122:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/definition/timing/index.tsx:123:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...
src/views/projects/workflow/timing/index.tsx:117:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/timing/index.tsx:118:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...
SbloodyS
changed the title
[Bug] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs.
[Question] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs.
Sep 10, 2024
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
Search before asking
What happened
dolphinscheduler-3.2.2-release
dolphinscheduler-ui model,run
pnpm run build:prod
,Reported some errors:src/views/projects/workflow/definition/timing/index.tsx:122:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/definition/timing/index.tsx:123:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...
src/views/projects/workflow/timing/index.tsx:117:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/timing/index.tsx:118:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...
Found 8 errors in 4 files.
Errors Files
2 src/views/projects/task/definition/batch-task.tsx:220
2 src/views/projects/workflow/definition/index.tsx:326
2 src/views/projects/workflow/definition/timing/index.tsx:122
2 src/views/projects/workflow/timing/index.tsx:117
What you expected to happen
ts type error
How to reproduce
1、download dolphinscheduler-3.2.2-release
2、install node18 and pnpm
3、 in dolphinscheduler-ui model,run
pnpm run build:prod
Anything else
No response
Version
3.2.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: