2017-08-11 20:14:59 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//// function bar<T>(onfulfilled: (value: T) => void) {
|
|
|
|
//// return undefined;
|
|
|
|
//// }
|
|
|
|
|
|
|
|
//// interface Test {
|
|
|
|
//// /*destination*/prop2: number
|
|
|
|
//// }
|
2017-10-19 00:49:46 +02:00
|
|
|
//// bar<Test>(({[|pr/*goto*/op2|]})=>{});
|
2017-08-11 20:14:59 +02:00
|
|
|
|
|
|
|
verify.goToDefinition("goto", "destination");
|