@lipemat/js-boilerplate-svelte
v1.1.2
Published
Svelte extension for @lipemat/js-boilerplate
Downloads
226
Readme
JS Boilerplate Svelte
Svelte extension for @lipemat/js-boilerplate
Project Setup
Unless you project imports the SvelteComponent
already, you'll get this TS error:
TS2307: Cannot find module '.svelte' or its corresponding type declarations.
This may be fixed by adding the following module definition to your types
folder:
declare module '*.svelte' {
// @ts-ignore
export {SvelteComponent as default} from 'svelte';
}
Commands
lipemat-js-boilerplate-svelte
check-types
The check-types
command calls svelte-check
to check the types in your Svelte project.