Skip to content

Commit 9469f95

Browse files
authored
Add tests case for function check type being correctly paranthesized in quick info (#48836)
1 parent 5f9c9a6 commit 9469f95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
///<reference path="fourslash.ts" />
2+
3+
////export type /**/Tail<T extends any[]> = ((...t: T) => void) extends (h: any, ...rest: infer R) => void ? R : never;
4+
5+
verify.quickInfoAt("", "type Tail<T extends any[]> = ((...t: T) => void) extends (h: any, ...rest: infer R) => void ? R : never");
6+

0 commit comments

Comments
 (0)