import { TypeOrDescription , Maybe } from '../definitions' ; param definition export function getDescription ( definition ) { let description ; if ( ! definition ) { return undefined ; } else if ( typeof definition === "string" ) { description = definition ; } else { description = definition . description ; } return description ; }