refactor(core): Introduce overload for string-type node parameter (no-changelog) (#4797)
* 📘 Set up overload * 🔥 Remove inferrable assertions
This commit is contained in:
@@ -222,8 +222,8 @@ export class HaloPSA implements INodeType {
|
||||
|
||||
const tokens = await getAccessTokens.call(this);
|
||||
|
||||
const resource = this.getNodeParameter('resource', 0) as string;
|
||||
const operation = this.getNodeParameter('operation', 0) as string;
|
||||
const resource = this.getNodeParameter('resource', 0);
|
||||
const operation = this.getNodeParameter('operation', 0);
|
||||
|
||||
//====================================================================
|
||||
// Main Loop
|
||||
|
||||
Reference in New Issue
Block a user