Skip to content

Commit 17dc30c

Browse files
committed
ts fix
1 parent e4f806f commit 17dc30c

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

libs/web-flow-executor/src/nodes/join-array.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ export const joinArray: NodeTaskFactory<NodeInfo> = (
103103
];
104104
return formElements;
105105
},
106-
(_nodeInstance) => {
107-
//
106+
(nodeInstance) => {
107+
node = nodeInstance.node as any;
108108
},
109109
{
110110
category: 'variables-array',

libs/web-flow-executor/src/nodes/regular-expression.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ export const runRegularExpression: NodeTaskFactory<NodeInfo> = (
104104
];
105105
return formElements;
106106
},
107-
(_nodeInstance) => {
108-
//
107+
(nodeInstance) => {
108+
node = nodeInstance.node as any;
109109
},
110110
{
111111
category: 'string',

libs/web-flow-executor/src/nodes/replace-string-map.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ export const replaceStringMap: NodeTaskFactory<NodeInfo> = (
142142
];
143143
return formElements;
144144
},
145-
(_nodeInstance) => {
145+
(nodeInstance) => {
146+
node = nodeInstance.node as any;
146147
if (node.nodeInfo) {
147148
node.nodeInfo.formValues = {
148149
...node.nodeInfo.formValues,

libs/web-flow-executor/src/nodes/set-grid-row.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export const setGridRowVariable: NodeTaskFactory<NodeInfo> = (
166166
return formElements;
167167
},
168168
(nodeInstance) => {
169+
node = nodeInstance.node as any;
169170
contextInstance = nodeInstance.contextInstance;
170171
if (nodeInstance.node.nodeInfo) {
171172
nodeInstance.node.nodeInfo.getDependencies = getDependencies;

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"importHelpers": false,
1111
"target": "es2015",
1212
"module": "esnext",
13-
"lib": ["es2021", "dom"],
13+
"lib": ["es2022", "dom"],
1414
"skipLibCheck": true,
1515
"skipDefaultLibCheck": true,
1616
"baseUrl": ".",

0 commit comments

Comments
 (0)