Files
NapCatQQ/.pnpm-store/v3/files/fe/a0bc85ded34543a7c418d223e272de1435ea8b261f9500b9c5a483a8b7a20d453e8cb6a8fea165cdb64747df9c502b90e979d5db581befee73bf58ae670143
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
718 B
Plaintext

import { InjectionToken } from "../providers";
import Transform from "../types/transform";
/**
* Parameter decorator factory that allows for interface information to be stored in the constructor's metadata with a transform token
* @param token The token of the object to be resolved
* @param transformer The token of the transform object
* @param args Arguments to be passed to the transform method on the transformer
* @returns The parameter decorator
*/
declare function injectWithTransform(token: InjectionToken<any>, transformer: InjectionToken<Transform<any, any>>, ...args: any[]): (target: any, propertyKey: string | symbol | undefined, parameterIndex: number) => any;
export default injectWithTransform;