mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Introduce overload for record-type node parameter (no-changelog) (#4648)
* 📘 Set up overload * 🔥 Remove inferrable record assertions * 👕 Fix semicolon * 👕 Fix another semicolon
This commit is contained in:
@@ -316,7 +316,7 @@ export class AwsElb implements INodeType {
|
||||
|
||||
const subnets = this.getNodeParameter('subnets', i) as string[];
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
|
||||
const params = ['Version=2015-12-01'];
|
||||
|
||||
@@ -388,7 +388,7 @@ export class AwsElb implements INodeType {
|
||||
const returnAll = this.getNodeParameter('returnAll', 0);
|
||||
|
||||
if (returnAll) {
|
||||
const filters = this.getNodeParameter('filters', i) as IDataObject;
|
||||
const filters = this.getNodeParameter('filters', i);
|
||||
|
||||
if (filters.names) {
|
||||
const names = (filters.names as string).split(',');
|
||||
|
||||
Reference in New Issue
Block a user