- Changed the version of "better-auth" to use a catalog reference in package.json and bun.lock for better dependency management. - Removed unnecessary comments and cleaned up the code in various files to enhance readability and maintainability. - Updated the authentication handling in hooks.server.ts to ensure proper token retrieval. - Simplified the layout and structure of Svelte components for improved clarity and performance.
10 lines
115 B
TypeScript
10 lines
115 B
TypeScript
declare global {
|
|
namespace App {
|
|
interface Locals {
|
|
token: string | undefined;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|