次の方法で共有


ServiceClass type

これは、サービスの型定義です。

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