docs: Zusatzfunktionen (Kai, 25.06.2025) in TODO.md ergänzt
This commit is contained in:
@@ -7,7 +7,10 @@ export async function checkSession(): Promise<boolean> {
|
||||
|
||||
if (typeof window === "undefined") return false;
|
||||
|
||||
return window[expectedGlobalVar] !== undefined;
|
||||
return (
|
||||
(window as unknown as Record<string, unknown>)[expectedGlobalVar] !==
|
||||
undefined
|
||||
);
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user