diff --git a/README.md b/README.md
index f37a230..4b31f1e 100644
--- a/README.md
+++ b/README.md
@@ -57,8 +57,8 @@ import IconComponent from './my-icon.svg?component'
### Skip SVGO Optimizer for a file
SVGO can be explicitly disabled for one file by adding the `?skipsvgo` suffix:
```js
-import iconWithoutOptimizer from './my-icon.svg?skipsvgo'
-// '/assets/my-icon.2d8efhg.svg'
+import IconWithoutOptimizer from './my-icon.svg?skipsvgo'
+//
```
### Default import config
diff --git a/index.d.ts b/index.d.ts
index 3fa6a10..14c8379 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,3 +1,5 @@
+import { FunctionalComponent, SVGAttributes } from 'vue'
+
declare module 'vite-svg-loader' {
import { Plugin } from 'vite'
import { OptimizeOptions } from 'svgo'
@@ -6,7 +8,6 @@ declare module 'vite-svg-loader' {
}
declare module '*.svg?component' {
- import { FunctionalComponent, SVGAttributes } from 'vue'
const src: FunctionalComponent
export default src
}
@@ -22,6 +23,6 @@ declare module '*.svg?raw' {
}
declare module '*.svg?skipsvgo' {
- const src: string
+ const src: FunctionalComponent
export default src
}