Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function memberType(this: DeclarationReflection): string {
const md: string[] = [];
if (this.type) {
md.push(type.call(this.type));
}
if (this.defaultValue) {
md.push(`= ${this.defaultValue}`);
}
return md.join(" ");
}