Closed shir0u closed 1 year ago
For example, in index.d.ts we define override for importing from different extensions, in this case, .scss.
index.d.ts
.scss
declare module '*.scss' { export function renderStyles(vars: {[prop: string]: string}): void; }
Then in app.svelte:
app.svelte
But in app.ts works fine:
app.ts
We made lots of improvements around this problem during the last year. If the issue still persist please open another issue on YouTrack.
For example, in
index.d.ts
we define override for importing from different extensions, in this case,.scss
.Then in
app.svelte
:But in
app.ts
works fine: