The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin > migratable
migratable() function
Signature:export declare function migratable<S, T, R>(
type: StateType<S, T, R>
): MigratableStateType<S, S, S, T, R>
Parameters
Parameter | Type | Description |
---|---|---|
type | StateType<S, T, R> | The initial state type to start the migration from |
MigratableStateType<S, S, S, T, R>