mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
590 B
JSON
29 lines
590 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationClassMethod_01.ts ===
|
|
// abstract class AbstractBar {
|
|
// abstract hello(): void;
|
|
// }
|
|
//
|
|
// class Bar extends AbstractBar{
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// function whatever(x: AbstractBar) {
|
|
// x.he/*GOTO IMPL*/llo();
|
|
// }
|
|
|
|
|
|
|
|
// === goToImplementation ===
|
|
// === /goToImplementationClassMethod_01.ts ===
|
|
// abstract class AbstractBar {
|
|
// abstract he/*GOTO IMPL*/llo(): void;
|
|
// }
|
|
//
|
|
// class Bar extends AbstractBar{
|
|
// <|[|hello|]() {}|>
|
|
// }
|
|
//
|
|
// function whatever(x: AbstractBar) {
|
|
// x.hello();
|
|
// } |