This commit is contained in:
Paul Coral
2025-08-04 22:38:48 +02:00
parent 6050d9d3a3
commit 333fd824e3
41 changed files with 580 additions and 98 deletions

View File

@@ -0,0 +1,6 @@
export const SUPPORTED_LANGS = ["fr", "en"];
export type SupportedLangs = (typeof SUPPORTED_LANGS)[number];
export function isSupportedLang(obj: unknown): obj is SupportedLangs {
return (SUPPORTED_LANGS as unknown[]).includes(obj);
}