Skip to content

Commit a038337

Browse files
HerringtonDarkholme孙广彪
authored and
孙广彪
committed
fix(typing): relax $options type for TS2.6+ (vuejs#6819)
1 parent 5b100af commit a038337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface CreateElement {
2222

2323
export interface Vue {
2424
readonly $el: HTMLElement;
25-
readonly $options: ComponentOptions<this>;
25+
readonly $options: ComponentOptions<Vue>;
2626
readonly $parent: Vue;
2727
readonly $root: Vue;
2828
readonly $children: Vue[];

0 commit comments

Comments
 (0)