@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>
17 lines • 463 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDeclarationType = getDeclarationType;
const core_1 = require("@ng-doc/core");
/**
*
* @param node
*/
function getDeclarationType(node) {
for (const declaration of core_1.NgDocDeclarations) {
if (node?.getKindName().includes(declaration)) {
return declaration;
}
}
return undefined;
}
//# sourceMappingURL=get-declaration-type.js.map
;