mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-26 23:20:35 +08:00
20 lines
334 B
TypeScript
20 lines
334 B
TypeScript
import App from "./App.svelte";
|
|
|
|
declare global {
|
|
// Taken from svelte-routing, since it's not exported.
|
|
interface RouteLocation {
|
|
pathname: string;
|
|
search: string;
|
|
hash?: string;
|
|
state: {
|
|
[k in string | number]: unknown;
|
|
};
|
|
}
|
|
}
|
|
|
|
const app = new App({
|
|
target: document.body,
|
|
});
|
|
|
|
export default app;
|