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