astro-ghostcms/.pnpm-store/v3/files/84/509ff22f3a1c95b5c33ed2d0246...

18 lines
449 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transform = void 0;
function transform(symbol, getOtherLocation) {
if (!('range' in symbol.location)) {
return symbol;
}
const loc = getOtherLocation(symbol.location);
if (!loc) {
return;
}
return {
...symbol,
location: loc,
};
}
exports.transform = transform;
//# sourceMappingURL=workspaceSymbol.js.map