mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
416 B
JSON
21 lines
416 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_04.ts ===
|
|
// interface Foo {
|
|
// hello (): void;
|
|
// }
|
|
//
|
|
// class Bar extends SuperBar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class SuperBar implements Foo {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class OtherBar implements Foo {
|
|
// hello() {} // should not show up
|
|
// }
|
|
//
|
|
// function (x: SuperBar) {
|
|
// x.he/*GOTO IMPL*/llo()
|
|
// } |