mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
55 lines
990 B
JSON
55 lines
990 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_09.ts ===
|
|
// interface Foo {
|
|
// hello (): void;
|
|
// }
|
|
//
|
|
// class SubBar extends Bar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class Bar extends SuperBar {
|
|
// <|[|hello|]() {}|>
|
|
//
|
|
// whatever() {
|
|
// super.he/*GOTO IMPL*/llo();
|
|
// super["hello"]();
|
|
// }
|
|
// }
|
|
//
|
|
// class SuperBar extends MegaBar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class MegaBar implements Foo {
|
|
// hello() {}
|
|
// }
|
|
|
|
|
|
|
|
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_09.ts ===
|
|
// interface Foo {
|
|
// hello (): void;
|
|
// }
|
|
//
|
|
// class SubBar extends Bar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class Bar extends SuperBar {
|
|
// <|[|hello|]() {}|>
|
|
//
|
|
// whatever() {
|
|
// super.hello();
|
|
// super["hel/*GOTO IMPL*/lo"]();
|
|
// }
|
|
// }
|
|
//
|
|
// class SuperBar extends MegaBar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// class MegaBar implements Foo {
|
|
// hello() {}
|
|
// } |