import { IUiApi, IUi } from 'umi-types'; import { ITaskDetail } from '../../server/core/types'; import { TaskType } from '../../server/core/enums'; export interface TaskComponentProps { api: IUiApi; taskType: TaskType; detail: ITaskDetail; dispatch: any; iife: boolean; Terminal: IUi.ITerminal; namespace: string; dbPath?: string; }