updated typescript, implemented for svelte flow

This commit is contained in:
peterkogo
2025-03-05 16:20:05 +01:00
parent c98b6c01f9
commit 502a240560
14 changed files with 167 additions and 187 deletions

View File

@@ -37,7 +37,7 @@
"cypress": "13.6.6",
"cypress-real-events": "1.12.0",
"start-server-and-test": "^2.0.2",
"typescript": "5.2.2",
"typescript": "5.4.5",
"vite": "4.5.0"
}
}

View File

@@ -24,7 +24,7 @@
"svelte": "^4.2.12",
"svelte-check": "^3.6.6",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript": "^5.4.5",
"vite": "^5.2.12"
},
"type": "module",

View File

@@ -198,7 +198,7 @@
attributionPosition={'top-center'}
deleteKey={['Backspace', 'd']}
>
<Controls orientation="horizontal" {fitViewOptions}>
<Controls orientation="horizontal">
<ControlButton slot="before">xy</ControlButton>
<ControlButton aria-label="log" on:click={() => console.log('control button')}
>log</ControlButton