Skip to content

Commit

Permalink
Merge pull request #100 from sebastianks/patch-1
Browse files Browse the repository at this point in the history
Update Typescript type in faq
  • Loading branch information
visualfanatic authored Feb 10, 2020
2 parents 04fa53b + 8ba74b8 commit c5a2ba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ To fix that you need to provide a type definition which is needed by TypeScript

``` ts
declare module '*.svg' {
const content: any;
import Vue, {VueConstructor} from 'vue';
const content: VueConstructor<Vue>;
export default content;
}
```
Expand Down

0 comments on commit c5a2ba2

Please sign in to comment.