Svelte Dashboard issue

Hello, having issues getting started with Svelte.

npx degit sveltejs/template uppytest

then
npm install uppy/core
npm install uppy/webcam
npm install uppy/svelte

and implement a basic import in the App.Svelte file:

<script>
	import { Dashboard } from '@uppy/svelte'

	import Uppy from '@uppy/core'
	import Webcam from '@uppy/webcam'

	let uppy = new Uppy().use(Webcam);
</script>

<main>
	hello
</main>

and then run npm run dev

and every time, on my laptop or my desktop setup I get same typescript related error:

[!] (plugin svelte) ParseError: Unexpected token
node_modules/@uppy/svelte/src/components/DashboardModal.svelte
1:
2: import { onMount, onDestroy } from ‘svelte’
3: import type { Uppy } from ‘@uppy/core’;
^
4: import DashboardPlugin from ‘@uppy/dashboard’
5:
ParseError: Unexpected token
at error (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/utils/error.ts:25:16)
at Parser$1.error (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/index.ts:100:3)
at Parser$1.acorn_error (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/index.ts:93:8)
at Object.read_script [as read] (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/read/script.ts:51:10)
at tag (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/state/tag.ts:205:27)
at new Parser$1 (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/index.ts:52:12)
at parse (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/parse/index.ts:216:17)
at compile (/Users/alex/Projects/tuts/uppytest/node_modules/svelte/src/compiler/compile/index.ts:91:14)
at Object.transform (/Users/alex/Projects/tuts/uppytest/node_modules/rollup-plugin-svelte/index.js:111:21)
at Promise.resolve.then (/Users/alex/Projects/tuts/uppytest/node_modules/rollup/dist/shared/rollup.js:18869:25)

Is there something in rollup that is missing ?

Thanks for any pointers.

p.s. if I remove the DashBoard import statement it compiles fine.

Just make sure to:

node scripts/setupTypeScript.js