UNPKG

@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>

16 lines 539 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPublicDeclaration = isPublicDeclaration; const ts_morph_1 = require("ts-morph"); const get_js_doc_1 = require("./get-js-doc"); /** * * @param declaration */ function isPublicDeclaration(declaration) { const node = ts_morph_1.Node.isVariableDeclaration(declaration) ? declaration.getVariableStatement() : declaration; return !(0, get_js_doc_1.hasJsDocTag)(node, 'internal'); } //# sourceMappingURL=is-public-declaration.js.map