1
0

chore(refactor): improve stores/config types (#3190)

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/3190
Reviewed-by: konrad <k@knt.li>
Co-authored-by: WofWca <wofwca@protonmail.com>
Co-committed-by: WofWca <wofwca@protonmail.com>
This commit is contained in:
WofWca
2023-03-03 14:36:59 +00:00
committed by konrad
parent f1ec554d09
commit 6a3518dace
3 changed files with 10 additions and 8 deletions

View File

@ -16,7 +16,7 @@ interface IMigratorRecord {
[key: Migrator['id']]: Migrator
}
export const MIGRATORS: IMigratorRecord = {
export const MIGRATORS = {
wunderlist: {
id: 'wunderlist',
name: 'Wunderlist',
@ -49,4 +49,4 @@ export const MIGRATORS: IMigratorRecord = {
icon: tickTickIcon as string,
isFileMigrator: true,
},
} as const
} as const satisfies IMigratorRecord