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
Type 'Target[K]' does not satisfy the constraint '(...args: any) => any'.
Type 'Target[keyof Target]' is not assignable to type '(...args: any) => any'.
Type 'Target[string] | Target[number] | Target[symbol]' is not assignable to type '(...args: any) => any'.
Type 'Target[string]' is not assignable to type '(...args: any) => any'
π Expected behavior
This code previously compiled without errors in the TS 4.3-beta
Bug Report
π Search Terms
π Version & Regression Information
4.3.0-dev.20210407
This was working in the TS 4.3 beta
β― Playground Link
https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBDAnmYcCCATDAxAllAZxgAUBDKUgW2BmCgBUJsBXAOwGMZcJWCAeeuQDmNAHxwAvHADeAKDgK4AbQDScXKzgBrYIggAzOIKgiYAXQBcR4TVVm4oWqwwE4ACgB0X4QSulWiEpmAJSS4gBuELgY8opxAPzuXh4+VmQU1LSEAjYwdqKhEhFRMXFxVpHRsgC+ANyyQA
π» Code
π Actual behavior
Parameters<Target[K]>has the error:π Expected behavior
This code previously compiled without errors in the TS 4.3-beta