Files
NapCatQQ/.pnpm-store/v3/files/42/55c050963fe40293e67c23a3396d62f372d502324fb7e361e072750172e8c5b952644dd4ec55aad56e7d61d6a84f7313f123f3ec58c1460b0f0ea51eaed0f9
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

11 lines
451 B
Plaintext

import constructor from "../types/constructor";
import { InjectionToken } from "../providers";
import Lifecycle from "../types/lifecycle";
/**
* Class decorator factory that registers the class as a scoped dependency within
* the global container.
*
* @return The class decorator
*/
export default function scoped<T>(lifecycle: Lifecycle.ContainerScoped | Lifecycle.ResolutionScoped, token?: InjectionToken<T>): (target: constructor<T>) => void;