* 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
17 lines
279 B
TypeScript
17 lines
279 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// function foo() {
|
|
//// new C().bar;
|
|
//// }
|
|
////
|
|
//// class C {
|
|
//// get /**/bar() {
|
|
//// return baz();
|
|
//// }
|
|
//// }
|
|
////
|
|
//// function baz() {
|
|
//// }
|
|
|
|
goTo.marker();
|
|
verify.baselineCallHierarchy();
|