fix(plugin-workflow): fix type

This commit is contained in:
mytharcher 2025-04-28 23:15:11 +08:00
parent 1bfdbdadf1
commit 46d7ff69d9

View File

@ -155,7 +155,7 @@ function useTaskTypeItems() {
return useMemo(
() =>
Array.from(workflowPlugin.taskTypes.getKeys())
.filter((key) => Boolean(counts[key]?.all))
.filter((key: string) => Boolean(counts[key]?.all))
.map((key: string) => {
return {
key,