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

14 lines
537 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findInPrototypeChain = findInPrototypeChain;
const getBaseType_1 = require("./getBaseType");
function findInPrototypeChain(type, reader) {
for (let currentType = type; currentType !== undefined; currentType = (0, getBaseType_1.getBaseType)(currentType)) {
const value = reader(currentType);
if (value !== undefined) {
return value;
}
}
return undefined;
}
//# sourceMappingURL=findInPrototypeChain.js.map