mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Enforce type checking in all node params (#2509)
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
blocks,
|
||||
} from './Blocks';
|
||||
|
||||
export const blockOperations = [
|
||||
export const blockOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -33,9 +33,9 @@ export const blockOperations = [
|
||||
default: 'append',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const blockFields = [
|
||||
export const blockFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* block:append */
|
||||
@@ -120,4 +120,4 @@ export const blockFields = [
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user