persona-community-5/.pnpm-store/v3/files/ab/341b9bfb9241155643232c87167c96a90ce2f6a3da9e5ea8dbec03a50ac20c652382812f9cd758b3ad9aea728e011c9810e0e225fee3623949f85c11a4f535
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

17 lines
580 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSymbolFromDefaultLibrary = isSymbolFromDefaultLibrary;
function isSymbolFromDefaultLibrary(program, symbol) {
if (!symbol) {
return false;
}
const declarations = symbol.getDeclarations() ?? [];
for (const declaration of declarations) {
const sourceFile = declaration.getSourceFile();
if (program.isSourceFileDefaultLibrary(sourceFile)) {
return true;
}
}
return false;
}
//# sourceMappingURL=isSymbolFromDefaultLibrary.js.map