mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
32 lines
630 B
JSON
32 lines
630 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_02.ts ===
|
|
// --- (line: 6) skipped ---
|
|
// }
|
|
//
|
|
// class Bar extends AbstractBar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// function whatever(a: AbstractBar) {
|
|
// a.he/*GOTO IMPL*/llo();
|
|
// }
|
|
|
|
|
|
|
|
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_02.ts ===
|
|
// interface Foo {
|
|
// he/*GOTO IMPL*/llo(): void
|
|
// }
|
|
//
|
|
// abstract class AbstractBar implements Foo {
|
|
// abstract hello(): void;
|
|
// }
|
|
//
|
|
// class Bar extends AbstractBar {
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// function whatever(a: AbstractBar) {
|
|
// a.hello();
|
|
// } |