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