Files
NapCatQQ/.pnpm-store/v3/files/6a/bc75ea9aa6a8384c712b7d8d63bae920aa7eb1c62edc316016426226456e98a155718c9c7911af85f9d52f1bee3a9d3fc2e3d48b376beb9bb7bf141a5ad14b
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

15 lines
914 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stringifyDecoratorInfo = stringifyDecoratorInfo;
const DecoratorInfoKind_1 = require("../models/DecoratorInfoKind");
function stringifyDecoratorInfo(decoratorTargetInfo) {
switch (decoratorTargetInfo.kind) {
case DecoratorInfoKind_1.DecoratorInfoKind.method:
return `[class: "${decoratorTargetInfo.targetClass.name}", method: "${decoratorTargetInfo.method.toString()}"]`;
case DecoratorInfoKind_1.DecoratorInfoKind.parameter:
return `[class: "${decoratorTargetInfo.targetClass.name}", index: "${decoratorTargetInfo.index.toString()}"]`;
case DecoratorInfoKind_1.DecoratorInfoKind.property:
return `[class: "${decoratorTargetInfo.targetClass.name}", property: "${decoratorTargetInfo.property.toString()}"]`;
}
}
//# sourceMappingURL=stringifyDecoratorInfo.js.map