feat: add settings types
This commit is contained in:
parent
6d29b9570b
commit
a0031e6655
5
app/types/settings.ts
Normal file
5
app/types/settings.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import type { DEFAULT_SETTINGS } from '~/data/settings/constants';
|
||||||
|
|
||||||
|
export type SettingKey = keyof typeof DEFAULT_SETTINGS;
|
||||||
|
|
||||||
|
export type AppSettings = Record<SettingKey, boolean> & { id?: string };
|
||||||
Loading…
x
Reference in New Issue
Block a user