diff --git a/src/alu.d.ts b/src/alu.d.ts new file mode 100644 index 0000000..04218cd --- /dev/null +++ b/src/alu.d.ts @@ -0,0 +1,11 @@ +export declare global { + namespace Alu { + let store: AluStore; + + type DefaultKeys = { + [key: string]: AluKey; + }; + type Key = Record; + type ValidStoreKeys = "proxy" | "search" | "openpage" | "wisp" | "bareUrl" | "transport" | "searxng" | "theme" | "lang" | "cloak"; + } +} diff --git a/src/components/CloakLoader.astro b/src/components/CloakLoader.astro index 9c4e19e..aec65c6 100644 --- a/src/components/CloakLoader.astro +++ b/src/components/CloakLoader.astro @@ -1,20 +1,19 @@