import { Contracts } from "ts-extractor" ; import { ReferenceRenderHandler , SerializedApiType } from "../contracts/serialized-api-item" ; import { BaseApiItemClass } from "../abstractions/base-api-item" ; export class ApiTypeDefault < TKind extends Contracts . ApiBaseType = Contracts . ApiType > extends BaseApiItemClass < TKind > implements SerializedApiType < TKind > { public ToText ( render = this . DefaultReferenceRenderer ) { return [ this . ApiItem . Text ] ; } }