@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>
22 lines • 694 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInterfaceProperties = getInterfaceProperties;
const core_1 = require("@ng-doc/core");
const interface_1 = require("../interface");
/**
*
* @param int
*/
function getInterfaceProperties(int) {
const properties = new Map();
(0, interface_1.forAllInterfaces)(int, (i) => {
i.getProperties().forEach((property) => {
const name = property.getName();
if (!properties.get(name)) {
properties.set(name, property);
}
});
});
return (0, core_1.asArray)(properties.values());
}
//# sourceMappingURL=get-interface-properties.js.map
;