diff --git a/docs/faq.md b/docs/faq.md index 9335a48..189a5aa 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -349,8 +349,9 @@ To fix that you need to provide a type definition which is needed by TypeScript ``` ts declare module '*.svg' { - import Vue, {VueConstructor} from 'vue'; - const content: VueConstructor; + import type { SVGAttributes, DefineComponent } from 'vue'; + + const content: DefineComponent; export default content; } ```