@ng-doc/builder / Function

getTypeAliasProperties

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)

Presentation

function getTypeAliasProperties(ta: TypeAliasDeclaration): PropertySignature[];

Returns

PropertySignature[]

Parameters

NameTypeDescription
ta
TypeAliasDeclaration