mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
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:
@@ -342,7 +342,7 @@ export class Git implements INodeType {
|
||||
|
||||
const returnAll = this.getNodeParameter('returnAll', itemIndex, false) as boolean;
|
||||
if (returnAll === false) {
|
||||
logOptions.maxCount = this.getNodeParameter('limit', itemIndex, 100) as number;
|
||||
logOptions.maxCount = this.getNodeParameter('limit', itemIndex, 100);
|
||||
}
|
||||
if (options.file) {
|
||||
logOptions.file = options.file as string;
|
||||
|
||||
Reference in New Issue
Block a user