Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vue>;
import type { SVGAttributes, DefineComponent } from 'vue';

const content: DefineComponent<SVGAttributes>;
export default content;
}
```
Expand Down