chore: Update the migration of

This commit is contained in:
BluJ
2023-05-09 14:25:51 -06:00
parent f5f8581233
commit 0ff462a744

View File

@@ -15,7 +15,7 @@ export class Migration<Store, Version extends ManifestVersion> {
up: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
down: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
}) {
return new Migration(options)
return new Migration<Store, Version>(options)
}
async up(opts: { effects: Effects; utils: Utils<Store> }) {