feat: migrate some more stuff to svelte-5, mainly app settings
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 4s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 4s
This commit is contained in:
7
packages/types/src/settings.ts
Normal file
7
packages/types/src/settings.ts
Normal file
@ -0,0 +1,7 @@
|
||||
type ExtractValues<T> = {
|
||||
[K in keyof T]: T[K] extends { value: infer V }
|
||||
? V
|
||||
: T[K] extends object
|
||||
? ExtractValues<T[K]>
|
||||
: never;
|
||||
};
|
Reference in New Issue
Block a user