(value: string, newClass: string | undefined)
| 49 | } |
| 50 | |
| 51 | function appendClass(value: string, newClass: string | undefined) { |
| 52 | if (!newClass) { |
| 53 | return value; |
| 54 | } |
| 55 | |
| 56 | if (value) { |
| 57 | return value + ' ' + newClass; |
| 58 | } |
| 59 | |
| 60 | return value + newClass; |
| 61 | } |
no outgoing calls
no test coverage detected