Add tests case for function check type being correctly paranthesized in quick info (#48836)

This commit is contained in:
Mateusz Burzyński authored and GitHub committed 2022-05-03 17:05:37 -07:00
1 parent 5f9c9a6ccf
commit 9469f95bd4
1 file changed
+6
@@ -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");