mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
update iconnection type to match workflows
This commit is contained in:
parent
d4b1f908dd
commit
3772487d98
|
@ -303,7 +303,7 @@ export interface ICredentialDataDecryptedObject {
|
|||
|
||||
// First array index: The output/input-index (if node has multiple inputs/outputs of the same type)
|
||||
// Second array index: The different connections (if one node is connected to multiple nodes)
|
||||
export type NodeInputConnections = IConnection[][];
|
||||
export type NodeInputConnections = (IConnection[] | null)[];
|
||||
|
||||
export interface INodeConnections {
|
||||
// Input name
|
||||
|
|
|
@ -1487,7 +1487,7 @@ describe('Workflow', () => {
|
|||
index: 0,
|
||||
},
|
||||
],
|
||||
[], // todo why is null not accepted
|
||||
null,
|
||||
[
|
||||
{
|
||||
node: 'Switch',
|
||||
|
|
Loading…
Reference in a new issue