export function typeAndParent(this: ArrayType | ReferenceType) { if (this instanceof ReferenceType && this.reflection) { const md = []; if (this.reflection instanceof SignatureReflection) { if (this.reflection.parent.parent.url) { md.push( `[${this.reflection.parent.parent.name}](${MarkdownTheme.handlebars.helpers.relativeURL( this.reflection.parent.parent.url, )})`, ); } else { md.push(this.reflection.parent.parent.name); if (this.reflection.parent.url) { md.push( `[${this.reflection.parent.name}](${MarkdownTheme.handlebars.helpers.relativeURL( this.reflection.parent.url, )})`, ); } else { md.push(this.reflection.parent.name); if (this.reflection.url) { md.push(`[${this.reflection.name}](${MarkdownTheme.handlebars.helpers.relativeURL(this.reflection.url)})`); } else { md.push(this.reflection.name);
| TypeOperatorType ) { if (this instanceof ReferenceType && (this.reflection || (this.name && this.typeArguments))) { return getReferenceType(this);