23 lines
429 B
TypeScript
23 lines
429 B
TypeScript
// See https://kit.svelte.dev/docs/types#app
|
|
// for information about these interfaces
|
|
// and what to do when importing types
|
|
declare namespace App {
|
|
// interface Error {}
|
|
// interface Locals {}
|
|
// interface PageData {}
|
|
// interface Platform {}
|
|
}
|
|
|
|
|
|
// src/app.d.ts
|
|
/*
|
|
import PocketBase from "pocketbase";
|
|
|
|
declare global {
|
|
declare namespace App {
|
|
interface Locals {
|
|
pb: PocketBase
|
|
}
|
|
}
|
|
}
|
|
*/ |