We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSON.stringify
1 parent e13663b commit 22d116cCopy full SHA for 22d116c
src/utils/session.ts
@@ -9,7 +9,7 @@ import type { SealOptions } from "../../lib/iron-webcrypto";
9
import type { H3Event } from "../event";
10
import { getCookie, setCookie } from "./cookie";
11
12
-type SessionDataT = Record<string, string | number | boolean>;
+type SessionDataT = Record<string, any>;
13
export type SessionData<T extends SessionDataT = SessionDataT> = T;
14
15
export interface Session<T extends SessionDataT = SessionDataT> {
0 commit comments