import { ComponentType } from "../../../enum"; import { IController } from "../../interface"; import { ConstructorType } from "../../type"; import Component from "./NormalComponent"; export default class ControllerComponent extends Component implements IController { route: string; cost: ConstructorType; type: ComponentType; constructor({ route, cost }?: { route?: string | undefined; cost?: typeof ControllerComponent | undefined; }); }