refactor(core): Introduce overload for number-type node parameter (no-changelog) (#4644)
* 📘 Set up overloads * 📘 Add temporary assertion * 🔥 Remove inferrable number assertions * ✏️ Add ticket ref
This commit is contained in:
@@ -446,7 +446,7 @@ export class GoToWebinar implements INodeType {
|
||||
const returnAll = this.getNodeParameter('returnAll', 0);
|
||||
|
||||
if (!returnAll) {
|
||||
qs.limit = this.getNodeParameter('limit', 0) as number;
|
||||
qs.limit = this.getNodeParameter('limit', 0);
|
||||
}
|
||||
|
||||
const { webinarKey, times } = this.getNodeParameter('additionalFields', i) as {
|
||||
@@ -566,7 +566,7 @@ export class GoToWebinar implements INodeType {
|
||||
const returnAll = this.getNodeParameter('returnAll', 0);
|
||||
|
||||
if (!returnAll) {
|
||||
qs.limit = this.getNodeParameter('limit', 0) as number;
|
||||
qs.limit = this.getNodeParameter('limit', 0);
|
||||
}
|
||||
|
||||
const { times } = this.getNodeParameter('additionalFields', i) as {
|
||||
|
||||
Reference in New Issue
Block a user