personal-website/src/app.d.ts

23 lines
389 B
TypeScript
Raw Normal View History

2024-04-11 11:53:39 +00:00
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
2024-04-12 18:27:54 +00:00
interface PostsObject {
id: number;
title: string;
author: string;
image: string;
}
2024-04-11 11:53:39 +00:00
declare global {
namespace App {
// interface Error {}
// interface Locals {}
2024-04-12 18:27:54 +00:00
interface PageData {
posts?: Array<PostsObject>;
}
2024-04-11 11:53:39 +00:00
// interface PageState {}
// interface Platform {}
}
}
export {};