You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a basic example, update to TS 3.9.3 and run it.
What is expected?
Start.
What is actually happening?
ERROR in /Users/small/Documents/front/vue-next-project/node_modules/@vue/runtime-core/dist/runtime-core.d.ts(437,20):
437:20 Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
435 | [key in keyof T]: T[key] extends {
436 | get: Function;
> 437 | } ? ReturnType<T[key]['get']> : ReturnType<T[key]>;
| ^
438 | };
439 |
440 | export declare type ExtractPropTypes<O, MakeDefaultRequired extends boolean = true> = O extends object ? {
ERROR in /Users/small/Documents/front/vue-next-project/node_modules/@vue/runtime-core/dist/runtime-core.d.ts(437,48):
437:48 Type 'T[key]' does not satisfy the constraint '(...args: any) => any'.
Type 'T[keyof T]' is not assignable to type '(...args: any) => any'.
Type 'T[string] | T[number] | T[symbol]' is not assignable to type '(...args: any) => any'.
Type 'T[string]' is not assignable to type '(...args: any) => any'.
435 | [key in keyof T]: T[key] extends {
436 | get: Function;
> 437 | } ? ReturnType<T[key]['get']> : ReturnType<T[key]>;
| ^
438 | };
439 |
440 | export declare type ExtractPropTypes<O, MakeDefaultRequired extends boolean = true> = O extends object ? {
Version: typescript 3.9.3
Time: 3919ms
The text was updated successfully, but these errors were encountered:
Version
3.0.0-beta.14
Reproduction link
https://github.com/katoto/vue3-typescipt
Steps to reproduce
create a basic example, update to TS 3.9.3 and run it.
What is expected?
Start.
What is actually happening?
The text was updated successfully, but these errors were encountered: