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:
@@ -9,7 +9,7 @@ export async function getAll(
|
||||
index: number,
|
||||
): Promise<INodeExecutionData[]> {
|
||||
const postId = this.getNodeParameter('postId', index) as string;
|
||||
const limit = this.getNodeParameter('limit', 0, 0) as number;
|
||||
const limit = this.getNodeParameter('limit', 0, 0);
|
||||
|
||||
const qs = {} as IDataObject;
|
||||
const requestMethod = 'GET';
|
||||
|
||||
Reference in New Issue
Block a user