-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS missing declaration files #53
Comments
In sveltekit, i added this to declare module 'svelte-icons/**/*.svelte' {
import { SvelteComponentTyped } from 'svelte';
export default class extends SvelteComponentTyped<{}, {}, {}> {}
} Which seems to work |
Are you sure? For me this has no effect |
Same |
I think this repo is not maintained anymore? |
Same error for me. Added the declared module to |
It worked for my by declaring each index file of ever folder like this:
|
seems that the declare module does not understand the /**/ all subdirectories part. |
Anybody got any advice how to fix this? I can't figure it out:
module "/home/dreamer/code/primate_dao/node_modules/svelte-icons/io/IoIosBuild.svelte" Could not find a declaration file for module 'svelte-icons/io/IoIosBuild.svelte'.
The text was updated successfully, but these errors were encountered: