2018-01-04 19:55:41 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: test.ts
|
|
|
|
//// interface A { a: A }
|
|
|
|
//// declare let a: A;
|
|
|
|
//// type Deep<T> = { [K in keyof T]: Deep<T[K]> }
|
|
|
|
//// declare function foo<T>(deep: Deep<T>): T;
|
|
|
|
//// const out = foo(a);
|
|
|
|
//// out./*1*/a
|
|
|
|
//// out.a./*2*/a
|
|
|
|
//// out.a.a./*3*/a
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: test.markers(), exact: "a" });
|