mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
Add tests case for function check type being correctly paranthesized in quick info (#48836)
This commit is contained in:
parent
5f9c9a6ccf
commit
9469f95bd4
6
tests/cases/fourslash/quickInfoFunctionCheckType.ts
Normal file
6
tests/cases/fourslash/quickInfoFunctionCheckType.ts
Normal file
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user