Skip to content

Commit

Permalink
Update packages/apidom-ns-workflows-1/src/predicates.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Dec 4, 2023
1 parent 1997139 commit 40d51aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apidom-ns-workflows-1/src/predicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 40d51aa

Please sign in to comment.