mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 12:27:44 +00:00
10 lines
284 B
TypeScript
10 lines
284 B
TypeScript
import { BetterAuthClientPlugin } from "better-auth";
|
|
import { customSession } from "./custom-session";
|
|
|
|
export const customSessionClient = () => {
|
|
return {
|
|
id: "session-client",
|
|
$InferServerPlugin: {} as ReturnType<typeof customSession>,
|
|
} satisfies BetterAuthClientPlugin;
|
|
};
|