Skip to content

Commit 9caed00

Browse files
HerringtonDarkholmeyyx990803
authored andcommitted
fix(typing): relax $options type for TS2.6+ (#6819)
1 parent 471de4a commit 9caed00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue.d.ts

+1-1
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)