TypeScript/tests/cases/fourslash/callHierarchyExportEqualsFunction.ts
Ron Buckton 6c413e0bbb
Add support for Call Hierarchies in language server (#35176)
* 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
2019-12-22 13:25:09 -08:00

21 lines
413 B
TypeScript

/// <reference path="fourslash.ts" />
// @filename: main.ts
//// import bar = require("./other");
////
//// function foo() {
//// bar();
//// }
// @filename: other.ts
//// export = /**/function () {
//// baz();
//// }
////
//// function baz() {
//// }
// NOTE: exported function is unnamed, so we expand the item to the entire file...
goTo.marker();
verify.baselineCallHierarchy();