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