Vue 2 types missing type parameter constraints

This issue has been tracked since 2022-08-19.

Version

2.7.9

Reproduction link

github.com

Steps to reproduce

$ npm i
$ npm i -g [email protected]
$ tsc

What is expected?

No compile error on Typescript 4.8

What is actually happening?

Compile error on Typescript 4.8

node_modules/vue/types/options.d.ts(109,5): error TS2344: Type 'Mixin' does not satisfy the constraint 'ComponentOptionsMixin'.
node_modules/vue/types/options.d.ts(120,7): error TS2344: Type 'Mixin' does not satisfy the constraint 'ComponentOptionsMixin'.
node_modules/vue/types/options.d.ts(146,5): error TS2344: Type 'Mixin' does not satisfy the constraint 'ComponentOptionsMixin'.
node_modules/vue/types/options.d.ts(157,7): error TS2344: Type 'Mixin' does not satisfy the constraint 'ComponentOptionsMixin'.


found in Definitely Typed's overnight run:
https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/results?buildId=137502&view=logs&j=6399d89d-3d30-5fff-3e92-07bbaf7ebe2f&t=482eae7c-85d2-5e8a-ea70-a5ab41e9bc13&l=12739

Vue 2 dependents all broke on Typescript 4.8 (RC) and 4.9 (in development).

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-03
Star Count 199758
Watcher Count 6095
Fork Count 32874
Issue Count 590

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date