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>

13 lines (12 loc) 520 B
import { TypeAliasDeclaration, PropertySignature } from 'ts-morph'; /** * Traverse all of the properties of a type alias declaration, * returning an array of all of the properties. * * Specifically, this resolves type alias declarations that resolve to types * that are "object-like", including: * - IntersectionTypes, * - TypeLiterals, and * - TypeReferences (which resolve to IntersectionTypes or TypeLiterals) */ export declare function getTypeAliasProperties(ta: TypeAliasDeclaration): PropertySignature[];