TypeScript/tests/cases/fourslash/gotoDefinitionInObjectBindingPattern1.ts
2017-10-18 15:49:46 -07:00

12 lines
282 B
TypeScript

/// <reference path='fourslash.ts' />
//// function bar<T>(onfulfilled: (value: T) => void) {
//// return undefined;
//// }
//// interface Test {
//// /*destination*/prop2: number
//// }
//// bar<Test>(({[|pr/*goto*/op2|]})=>{});
verify.goToDefinition("goto", "destination");