Public typealias

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

MigrationFailureReason

Source

packages/store/src/lib/migrate.ts

MigrationFailureReasonMigrations