Skip to content

Commit c5a2ba2

Browse files
Merge pull request #100 from sebastianks/patch-1
Update Typescript type in faq
2 parents 04fa53b + 8ba74b8 commit c5a2ba2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ To fix that you need to provide a type definition which is needed by TypeScript
349349

350350
``` ts
351351
declare module '*.svg' {
352-
const content: any;
352+
import Vue, {VueConstructor} from 'vue';
353+
const content: VueConstructor<Vue>;
353354
export default content;
354355
}
355356
```

0 commit comments

Comments
 (0)