* Add support for Call Hierarchies in language server * Use baselines for callHierarchy tests * Clean up commented code * Support multiple hierarchy items when an implementation can't be found * Use optional chaining in a few places * Use getFileAndProject
12 lines
211 B
TypeScript
12 lines
211 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// interface I {
|
|
//// /**/foo(): void;
|
|
//// }
|
|
////
|
|
//// const obj: I = { foo() {} };
|
|
////
|
|
//// obj.foo();
|
|
|
|
goTo.marker();
|
|
verify.baselineCallHierarchy();
|