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

6 lines
282 B
Plaintext

export function declaredScope(context, node, name) {
const references = context.sourceCode.getScope(node).references;
const reference = references.find(x => x.identifier.name === name);
return reference?.resolved?.scope.type;
}
//# sourceMappingURL=declared-scope.js.map