@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
15 lines • 429 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPlaygroundsIds = getPlaygroundsIds;
const ts_morph_1 = require("ts-morph");
/**
*
* @param expression
*/
function getPlaygroundsIds(expression) {
return (expression
.getProperties()
.filter(ts_morph_1.Node.isPropertyAssignment)
.map((p) => p.getName()) ?? []);
}
//# sourceMappingURL=get-playgrounds-ids.js.map
;