(option)
| 8 | import { validations } from 'decap-cms-lib-widgets'; |
| 9 | |
| 10 | function optionToString(option) { |
| 11 | return option && (typeof option.value === 'number' || typeof option.value === 'string') |
| 12 | ? option.value |
| 13 | : null; |
| 14 | } |
| 15 | |
| 16 | function convertToOption(raw) { |
| 17 | if (typeof raw === 'string') { |
no outgoing calls
no test coverage detected