Skip to content

TypeInfo

A documented export: a class, interface, enum, type alias, function or variable.

Import:

import type { TypeInfo } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-types';

Signature:

export interface TypeInfo

Properties

PropertyTypeDescription
baseTypesstring[]
constructorInfo?MemberInfo | undefinedFor classes: the constructor (public/protected), if any
descriptionstring
enumMembersEnumMemberInfo[]For enums: the enum members
examplesstring[]
implementsTypesstring[]For classes: types in the implements clause
kind'class' | 'enum' | 'function' | 'interface' | 'type' | 'variable'
methodsMemberInfo[]
namestring
namespacestring
propertiesMemberInfo[]
remarksstring
typeAliasText?stringFor type aliases: the right-hand-side type text
typeParametersstring[]
variableKeyword?stringFor variables: the declaration keyword (let/const/var)
variableType?stringFor variables: the type annotation

Links to this page: