* 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
20 lines
329 B
TypeScript
20 lines
329 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @filename: main.ts
|
|
//// import bar from "./other";
|
|
////
|
|
//// function foo() {
|
|
//// bar();
|
|
//// }
|
|
|
|
// @filename: other.ts
|
|
//// export /**/default function () {
|
|
//// baz();
|
|
//// }
|
|
////
|
|
//// function baz() {
|
|
//// }
|
|
|
|
goTo.marker();
|
|
verify.baselineCallHierarchy();
|