Created
April 10, 2022 14:16
-
-
Save drmikecrowe/f91f273406e48b303556f5c94c0678ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TS2344: Type 'T[U]' does not satisfy the constraint '(...args: any) => any'. | |
Type 'T[OnlyFunctionPropertyNames<T>]' is not assignable to type '(...args: any) => any'. | |
Type 'T[T[keyof T] extends (...args: any) => any ? keyof T : never]' is not assignable to type '(...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'. | |
16 | T extends Composer<never>, | |
17 | U extends OnlyFunctionPropertyNames<T> = OnlyFunctionPropertyNames<T>, | |
> 18 | > = Filter<Parameters<T[U]>, Middleware<never>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment