persona-community-5/.pnpm-store/v3/files/a9/1935b86bb77e1695e13deb4257ae2e4d74a0b323c244b6ad622bc579f0fffd505884cebb18d1727b2cb6825dcb19106becaf1581e6a9f9efbd32f101eaac5f
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

15 lines
449 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDeclaration = getDeclaration;
/**
* Gets the declaration for the given variable
*/
function getDeclaration(services, node) {
const symbol = services.getSymbolAtLocation(node);
if (!symbol) {
return null;
}
const declarations = symbol.getDeclarations();
return declarations?.[0] ?? null;
}
//# sourceMappingURL=getDeclaration.js.map