6c413e0bbb
* 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
16 lines
238 B
TypeScript
16 lines
238 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// function foo() {
|
|
//// bar();
|
|
//// }
|
|
////
|
|
//// const /**/bar = () => {
|
|
//// baz();
|
|
//// }
|
|
////
|
|
//// function baz() {
|
|
//// }
|
|
|
|
goTo.marker();
|
|
verify.baselineCallHierarchy();
|