mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Introduce overload for boolean-type node parameter (no-changelog) (#4647)
* 📘 Set up overloads * 📘 Add temporary assertion * 🔥 Remove inferrable boolean assertions * ⏪ Undo autoformatting
This commit is contained in:
@@ -2198,7 +2198,7 @@ export class GoogleDrive implements INodeType {
|
||||
// ----------------------------------
|
||||
// list
|
||||
// ----------------------------------
|
||||
const returnAll = this.getNodeParameter('returnAll', i) as boolean;
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
const qs: IDataObject = {};
|
||||
|
||||
@@ -2509,7 +2509,7 @@ export class GoogleDrive implements INodeType {
|
||||
// ----------------------------------
|
||||
// upload
|
||||
// ----------------------------------
|
||||
const resolveData = this.getNodeParameter('resolveData', 0) as boolean;
|
||||
const resolveData = this.getNodeParameter('resolveData', 0);
|
||||
|
||||
let mimeType = 'text/plain';
|
||||
let body;
|
||||
|
||||
Reference in New Issue
Block a user