Files
NapCatQQ/.pnpm-store/v3/files/1b/54e94f40e5952e57a06c4ac4cb0a588c923e82bde64f6f11eb9ba69386df63868a3e098a8a8926851106b44aa7250b576c572b62285494f265a87c3326b490
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

28 lines
1003 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decorate = decorate;
function decorate(decorators, target, parameterIndexOrProperty, parameterIndex) {
const parsedDecorators = Array.isArray(decorators)
? decorators
: [decorators];
if (parameterIndexOrProperty === undefined) {
// Asume ClassDecorator[]
Reflect.decorate(parsedDecorators, target);
return;
}
if (typeof parameterIndexOrProperty === 'number') {
// Asume ParameterDecorator[]
for (const decorator of parsedDecorators) {
decorator(target, undefined, parameterIndexOrProperty);
}
return;
}
if (parameterIndex === undefined) {
Reflect.decorate(parsedDecorators, target.prototype, parameterIndexOrProperty);
return;
}
for (const decorator of parsedDecorators) {
decorator(target, parameterIndexOrProperty, parameterIndex);
}
}
//# sourceMappingURL=decorate.js.map