Skip to content

Vue 2 types missing type parameter constraints #12753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sandersn opened this issue Aug 19, 2022 · 0 comments · Fixed by #12754
Closed

Vue 2 types missing type parameter constraints #12753

sandersn opened this issue Aug 19, 2022 · 0 comments · Fixed by #12754

Comments

@sandersn
Copy link
Contributor

Version

2.7.9

Reproduction link

github.com

Steps to reproduce

$ npm i
$ npm i -g typescript@rc
$ 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants