Поделиться через


ValueWithError type

Результат значения с ошибкой.

type ValueWithError = { error: string, value: any }