mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
fix(editor): Fix type mismatch (#27324)
This commit is contained in:
+1
-1
@@ -580,7 +580,7 @@ export const useLinter = (
|
||||
*
|
||||
* $("myNode").item -> $("myNode").first()
|
||||
*/
|
||||
if (toValue(mode) === 'runOnceForEachItem') {
|
||||
if (toValue(mode) === 'runOnceForAllItems') {
|
||||
type DollarItemNode = RangeNode & {
|
||||
property: { name: string; type: string } & RangeNode;
|
||||
};
|
||||
|
||||
+1
@@ -5,6 +5,7 @@ declare global {
|
||||
context: C;
|
||||
item: N8nItem<J, B>;
|
||||
params: P;
|
||||
first(branchIndex?: number, runIndex?: number): J & N8nJson;
|
||||
}
|
||||
|
||||
// @ts-expect-error N8nInputJson is populated dynamically
|
||||
|
||||
Reference in New Issue
Block a user