Initial, working login and logout with spotify
This commit is contained in:
21
src/app.d.ts
vendored
Normal file
21
src/app.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
|
||||
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
user: {
|
||||
isLoggedIn: boolean;
|
||||
email: string | undefined;
|
||||
username: string | undefined | null;
|
||||
}
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export { };
|
||||
Reference in New Issue
Block a user