How to use the dgeni-packages/typescript/api-doc-types/PropertyMemberDoc.PropertyMemberDoc function in dgeni-packages

To help you get started, we’ve selected a few dgeni-packages examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sbb-design-systems / sbb-angular / schematics / documentation / index.js View on Github external
function isProperty(doc) {
    if (doc instanceof PropertyMemberDoc.PropertyMemberDoc ||
        // The latest Dgeni version no longer treats getters or setters as properties.
        // From a user perspective, these are still properties and should be handled the same
        // way as normal properties.
        (!isMethod(doc) && (doc.isGetAccessor || doc.isSetAccessor))) {
        return !isGenericTypeParameter(doc);
    }
    return false;
}
function isDirective(doc) {