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];