Fix runtime warnings
This commit is contained in:
parent
3979847be6
commit
28ea82f600
2 changed files with 2 additions and 3 deletions
|
@ -18,8 +18,8 @@
|
|||
|
||||
// Svelte automatically fills these with a reference
|
||||
let container: HTMLElement;
|
||||
let clientHeight: number;
|
||||
let clientWidth: number;
|
||||
let clientHeight: number = window.innerHeight;
|
||||
let clientWidth: number = window.innerWidth;
|
||||
let svgElement: SVGElement;
|
||||
let innerSvgGroup: SVGElement;
|
||||
let selectionRectangle: [[number, number], [number, number]] | null = null;
|
||||
|
|
|
@ -3,7 +3,6 @@ import App from './App.svelte';
|
|||
const app = new App({
|
||||
target: document.getElementById("svelte-root")!,
|
||||
props: {
|
||||
name: 'world'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue