rollup-plugin-svelte-hot
rollup-plugin-svelte-hot copied to clipboard
Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
Getting this error when running tsc in a project that depends on `rollup-plugin-svelte-hot.
../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/rollup-plugin-svelte-hot/index.d.ts:10:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
10 class CssWriter {
~~~~~
Aren't you getting the same thing with the official plugin? The types declaration essentially comes from there...
We've just merged a more recent version, can you confirm if you still get this with rollup-plugin-svelte-hot@next (0.11.0-1)?