* 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
15 lines
234 B
TypeScript
15 lines
234 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// function foo() {
|
|
//// bar();
|
|
//// }
|
|
////
|
|
//// function /**/bar() {
|
|
//// new Baz();
|
|
//// }
|
|
////
|
|
//// class Baz {
|
|
//// }
|
|
|
|
goTo.marker();
|
|
verify.baselineCallHierarchy();
|