File size: 578 Bytes
142f91b
 
 
560b99e
142f91b
 
 
 
 
de6cf77
142f91b
 
 
 
 
560b99e
4b154d2
560b99e
6a839c1
 
4346adf
 
 
 
f7d189a
560b99e
142f91b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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 Error {}
		// interface Platform {}
		interface Window {
			parentIFrame: unknown;
		}
	}
	interface Event {
		relatedTarget: EventTarget | null;
		transform: ZoomTransform;
		x: number;
		y: number;
		subject: {
			x: number;
			y: number;
		}
		sourceEvent: PointerEvent | MouseEvent | TouchEvent
	}
}