(text, width)
| 90 | } |
| 91 | |
| 92 | function fold(text, width) { |
| 93 | return RegExpPrototypeSymbolReplace( |
| 94 | new RegExp(`([^\n]{0,${width}})( |$)`, 'g'), |
| 95 | text, |
| 96 | (_, newLine, end) => newLine + (end === ' ' ? '\n' : ''), |
| 97 | ); |
| 98 | } |
| 99 | |
| 100 | function getArgDescription(type) { |
| 101 | switch (typeLookup[type]) { |
no outgoing calls
no test coverage detected
searching dependent graphs…