fix: Type problems regarding global variable

This commit is contained in:
Faruk AYDIN
2022-10-06 00:49:24 +03:00
parent 8308265a62
commit 63ffd1f720
7 changed files with 21 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ import App from './app';
import Flow from './flow';
import Connection from './connection';
import ExecutionStep from './execution-step';
import type { IStep } from '@automatisch/types';
import type { IJSONObject, IStep } from '@automatisch/types';
import Telemetry from '../helpers/telemetry';
import appConfig from '../config/app';
@@ -17,7 +17,7 @@ class Step extends Base {
connectionId?: string;
status = 'incomplete';
position!: number;
parameters: Record<string, unknown>;
parameters: IJSONObject;
connection?: Connection;
flow: Flow;
executionSteps: ExecutionStep[];