2.0.0 • Published 11 months ago
@lipemat/js-boilerplate-svelte v2.0.0
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.