mirror of
				https://github.com/n8n-io/n8n-nodes-starter.git
				synced 2025-10-31 07:12:25 -05:00 
			
		
		
		
	fix: correct NodeConnectionType import to NodeConnectionTypes
This commit is contained in:
		
					parent
					
						
							
								67ee5b8e80
							
						
					
				
			
			
				commit
				
					
						2e709b1528
					
				
			
		
					 2 changed files with 6 additions and 6 deletions
				
			
		|  | @ -4,7 +4,7 @@ import type { | |||
| 	INodeType, | ||||
| 	INodeTypeDescription, | ||||
| } from 'n8n-workflow'; | ||||
| import { NodeConnectionType, NodeOperationError } from 'n8n-workflow'; | ||||
| import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow'; | ||||
| 
 | ||||
| export class ExampleNode implements INodeType { | ||||
| 	description: INodeTypeDescription = { | ||||
|  | @ -16,8 +16,8 @@ export class ExampleNode implements INodeType { | |||
| 		defaults: { | ||||
| 			name: 'Example Node', | ||||
| 		}, | ||||
| 		inputs: [NodeConnectionType.Main], | ||||
| 		outputs: [NodeConnectionType.Main], | ||||
| 		inputs: [NodeConnectionTypes.Main], | ||||
| 		outputs: [NodeConnectionTypes.Main], | ||||
| 		usableAsTool: true, | ||||
| 		properties: [ | ||||
| 			// Node properties which the user gets displayed and
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue