diff --git a/packages/apidom-ns-workflows-1/src/predicates.ts b/packages/apidom-ns-workflows-1/src/predicates.ts index bfd9bac891..7c855df248 100644 --- a/packages/apidom-ns-workflows-1/src/predicates.ts +++ b/packages/apidom-ns-workflows-1/src/predicates.ts @@ -84,7 +84,7 @@ export const isSourceDescriptionsElement = createPredicate( export const isWorkflowsElement = createPredicate( ({ hasBasicElementProps, isElementType, primitiveEq, hasClass }) => { return (element: unknown): element is WorkflowWorkflowsElement => - element instanceof WorkflowWorkflowsElement || + element instanceof WorkflowsElement || (hasBasicElementProps(element) && isElementType('workflows', element) && primitiveEq('array', element) &&