teasanctuary.ru/src/app.d.ts

35 lines
628 B
TypeScript

declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface Platform {}
interface Route {
label: string;
icon: string;
href: string;
}
interface MdsvexFile {
default: import('svelte/internal').SvelteComponent;
metadata: Record<string, string>;
}
type MdsvexResolver = () => Promise<MdsvexFile>;
interface BlogPost {
slug: string;
title: string;
thumbnail?: string;
date?: string;
dateChanged?: string;
description: string;
publisher: string;
published?: boolean;
projects?: string[];
}
}
}
export {};