From 72859245b29b09ec78782cc686d3b44196a56be9 Mon Sep 17 00:00:00 2001 From: Shireen Missi Date: Thu, 5 Sep 2024 16:06:50 +0100 Subject: [PATCH] fix the issue in trigger nodes Co-authored-by: Elias Meire --- packages/cli/src/node-types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/node-types.ts b/packages/cli/src/node-types.ts index 550b836a16c668..baf828ac377066 100644 --- a/packages/cli/src/node-types.ts +++ b/packages/cli/src/node-types.ts @@ -74,8 +74,8 @@ export class NodeTypes implements INodeTypes { if (type in knownNodes) { const { className, sourcePath } = knownNodes[type]; - const loaded: INodeType | IVersionedNodeType = loadClassInIsolation(sourcePath, className); - if (NodeHelpers.isINodeType(loaded)) NodeHelpers.applySpecialNodeParameters(loaded); + const loaded: INodeType = loadClassInIsolation(sourcePath, className); + NodeHelpers.applySpecialNodeParameters(loaded); loadedNodes[type] = { sourcePath, type: loaded }; return loadedNodes[type];