We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.d.ts
1 parent 4d0f92a commit 393519bCopy full SHA for 393519b
README.md
@@ -221,5 +221,9 @@ following import statement to `src/app.d.ts` (or any `.d.ts` file somewhere in t
221
project where `tsc` can find it).
222
223
```ts
224
-import '@poppanator/sveltekit-svg/dist/svg'
+import '@poppanator/sveltekit-svg/dist/svg.d.ts'
225
```
226
+
227
+> **NOTE!** If you have `module`/`moduleResolution` set to `NodeNext` in your
228
+> Typescript config, you **MUST** include `.d.ts` in the import of the SVG
229
+> type definition.
0 commit comments