Skip to content

Commit

Permalink
feat: supported type of [email protected]+
Browse files Browse the repository at this point in the history
  • Loading branch information
baboon-king committed Jan 29, 2024
1 parent f741635 commit aea2f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion npm/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@vue/test-utils": "^1.3.1",
"tslib": "^2.1.0",
"typescript": "^4.7.4",
"vue": "2.6.12"
"vue": "2.7.16"
},
"peerDependencies": {
"cypress": ">=4.5.0",
Expand Down
4 changes: 2 additions & 2 deletions npm/vue2/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="cypress" />
import Vue from 'vue'
import Vue, { DefineComponent } from 'vue'
import {
createLocalVue,
mount as testUtilsMount,
Expand Down Expand Up @@ -119,7 +119,7 @@ const resetStoreVM = (Vue, { store }) => {
* ^^^^^ this type
* mount(Hello)
*/
type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor
type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor | DefineComponent

/**
* Options to pass to the component when creating it, like
Expand Down

0 comments on commit aea2f74

Please sign in to comment.