nl_tokens: Given a type description object return legible string description
pl_tokens: function inferType ( type ) { if ( ! type ) return '' ; function iterateTypes ( subTree ) { return map ( normalizeValue ( subTree ) , inferType ) . join ( ', ' ) ; } switch ( type . name ) { case 'arrayOf' : return ` ${ iterateTypes ( type . value ) } ` ; case 'custom' : return COMMON_PROP_TYPES_TO_LINKS_MAP [ type . raw ] || type . raw ; case 'enum' : return ` ${ iterateTypes ( type . value ) } ` ; case 'shape' : case 'shapeOf' : // FALL THROUGH return 'object' ; case 'union' : return iterateTypes ( type . <mask> ) ; default : return type . name || type . value ; } }