diff --git a/package.json b/package.json index 4ada8c2e2..7d9751319 100644 --- a/package.json +++ b/package.json @@ -44,13 +44,13 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^8.4.0", "semver": "^6.3.0", - "typescript": "^3.9.7", + "typescript": "^4.7.4", "vee-validate": "^2.1.3", - "vue": "^2.6.11", + "vue": "^2.7.14", "vue-class-component": "^7.2.3", "vue-router": "^3.0.1", - "vue-server-renderer": "^2.6.11", - "vue-template-compiler": "^2.6.11", + "vue-server-renderer": "^2.7.14", + "vue-template-compiler": "^2.7.14", "vuepress": "^1.5.2", "@vuepress/theme-vue": "^1.5.2", "@vuepress/plugin-pwa": "^1.5.2", diff --git a/packages/test-utils/types/index.d.ts b/packages/test-utils/types/index.d.ts index cc1556557..743aad17c 100644 --- a/packages/test-utils/types/index.d.ts +++ b/packages/test-utils/types/index.d.ts @@ -188,15 +188,15 @@ export declare let config: VueTestUtilsConfigOptions export declare function mount (component: VueClass, options?: ThisTypedMountOptions): Wrapper export declare function mount (component: ComponentOptions, options?: ThisTypedMountOptions): Wrapper -export declare function mount (component: ExtendedVue, options?: ThisTypedMountOptions): Wrapper & Vue> +export declare function mount (component: ExtendedVue, options?: ThisTypedMountOptions): Wrapper & Vue> export declare function mount> (component: FunctionalComponentOptions, options?: MountOptions): Wrapper -export declare function mount (component: ExtendedVue, options?: FunctionalComponentMountOptions): Wrapper & Vue> +export declare function mount (component: ExtendedVue, options?: FunctionalComponentMountOptions): Wrapper & Vue> export declare function shallowMount (component: VueClass, options?: ThisTypedShallowMountOptions): Wrapper export declare function shallowMount (component: ComponentOptions, options?: ThisTypedShallowMountOptions): Wrapper -export declare function shallowMount (component: ExtendedVue, options?: ThisTypedShallowMountOptions): Wrapper & Vue> +export declare function shallowMount (component: ExtendedVue, options?: ThisTypedShallowMountOptions): Wrapper & Vue> export declare function shallowMount>(component: FunctionalComponentOptions, options?: ShallowMountOptions): Wrapper -export declare function shallowMount (component: ExtendedVue, options?: FunctionalComponentShallowMountOptions): Wrapper & Vue> +export declare function shallowMount (component: ExtendedVue, options?: FunctionalComponentShallowMountOptions): Wrapper & Vue> export declare function createWrapper(node: Vue, options?: WrapperOptions): Wrapper export declare function createWrapper(node: HTMLElement, options?: WrapperOptions): Wrapper diff --git a/test/resources/components/component-with-inject-composition.vue b/test/resources/components/component-with-inject-composition.vue index 113bc0dbd..1f7360e06 100644 --- a/test/resources/components/component-with-inject-composition.vue +++ b/test/resources/components/component-with-inject-composition.vue @@ -3,9 +3,9 @@