* Support goto-definition for index signatures * Use checker.getIndexInfoOfType * Handle undefined info.declaration
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
|
|
/// <reference path='fourslash.ts'/>
|
|
////interface Gen {
|
|
//// x: number;
|
|
//// /*1*/parent: Gen;
|
|
//// millenial: string;
|
|
////}
|
|
////let t: Gen;
|
|
////var { x, ...rest } = t;
|
|
////rest.[|/*2*/parent|];
|
|
|
|
verify.goToDefinition('2', [ '1' ]);
|