MigrationResult
type MigrationResult<T> =
| {
reason: MigrationFailureReason
type: 'error'
}
| {
type: 'success'
value: T
}
type MigrationResult<T> =
| {
reason: MigrationFailureReason
type: 'error'
}
| {
type: 'success'
value: T
}