ServiceClass type

这是服务的类型定义。

export type ServiceClass<T> = {
    new (serviceScope: IServiceScope): T;
} | {
    new (serviceScope: ServiceScope): T;
};