TypeScript/tests/cases/fourslash/callHierarchyInterfaceMethod.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

13 lines
211 B
TypeScript

/// <reference path="fourslash.ts" />
//// interface I {
//// /**/foo(): void;
//// }
////
//// const obj: I = { foo() {} };
////
//// obj.foo();
goTo.marker();
verify.baselineCallHierarchy();