mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +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:
@@ -869,7 +869,7 @@ export class Nasa implements INodeType {
|
||||
// trigger an error in getNodeParameter dealt with in the catch block.
|
||||
let additionalFields;
|
||||
try {
|
||||
additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
} catch (error) {
|
||||
additionalFields = {} as IDataObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user