Freeze an object when in development mode. Copied from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze

function devFreeze<T>(object: T): T
Example
const frozen = devFreeze({ a: 1 })
Parameters
NameDescription

object

T

The object to freeze.

Returns
T

The frozen object when in development mode, or else the object when in other modes.

defineMigrationsreverseRecordsDiff