mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add tests case for function check type being correctly paranthesized in quick info (#48836)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
///<reference path="fourslash.ts" />
|
||||
|
||||
////export type /**/Tail<T extends any[]> = ((...t: T) => void) extends (h: any, ...rest: infer R) => void ? R : never;
|
||||
|
||||
verify.quickInfoAt("", "type Tail<T extends any[]> = ((...t: T) => void) extends (h: any, ...rest: infer R) => void ? R : never");
|
||||
|
||||
Reference in New Issue
Block a user