7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
//// type Item<T> = T extends /*a*/(infer P)[]/*b*/ ? P : never
|
||
|
|
||
|
goTo.select("a", "b");
|
||
|
verify.not.refactorAvailable('Extract type')
|