mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
592 B
JSON
31 lines
592 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_01.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// }
|
|
//
|
|
// class Bar implements Foo {
|
|
// <|[|hello|]() {}|>
|
|
// public sure() {}
|
|
// }
|
|
//
|
|
// function whatever(a: Foo) {
|
|
// a.he/*GOTO IMPL*/llo();
|
|
// }
|
|
//
|
|
// whatever(new Bar());
|
|
|
|
|
|
|
|
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_01.ts ===
|
|
// interface Foo {
|
|
// hel/*GOTO IMPL*/lo(): void;
|
|
// okay?: number;
|
|
// }
|
|
//
|
|
// class Bar implements Foo {
|
|
// <|[|hello|]() {}|>
|
|
// public sure() {}
|
|
// }
|
|
//
|
|
// --- (line: 11) skipped --- |