radames's picture
adding new hooks
27bb457
raw
history blame
592 Bytes
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
import type { ZoomTransform } from 'd3-zoom';
declare global {
namespace App {
// interface Locals {}
// interface PageData {}
// interface Platform {}
interface Window {
parentIFrame: unknown;
}
}
interface Error {
code: number;
}
interface Event {
relatedTarget: EventTarget | null;
transform: ZoomTransform;
x: number;
y: number;
subject: {
x: number;
y: number;
}
sourceEvent: PointerEvent | MouseEvent | TouchEvent
}
}