import { Contracts } from "ts-extractor" ; import { ApiDefinitionContainer } from "../api-definition-container" ; import { ReferenceRenderHandler } from "../../contracts/serialized-api-item" ; export class ApiTypeLiteral extends ApiDefinitionContainer < Contracts . ApiTypeLiteralDto > { public ToText ( render = this . DefaultReferenceRenderer ) { const members = this . MembersToText ( render , this . Members , 1 ) ; return [ `{` , ... members , `}` ] ; } public ToHeadingText ( ) { return this . Name ; } }