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:
@@ -514,7 +514,7 @@ export class AwsTranscribe implements INodeType {
|
||||
{ 'x-amz-target': action, 'Content-Type': 'application/x-amz-json-1.1' },
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
const limit = this.getNodeParameter('limit', i);
|
||||
body['MaxResults'] = limit;
|
||||
responseData = await awsApiRequestREST.call(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user