mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_10.ts ===
|
|
// --- (line: 11) skipped ---
|
|
// }
|
|
//
|
|
// class FooImpl implements Foo {
|
|
// <|[|hello|]() {/**FooImpl*/}|>
|
|
// aloha() {}
|
|
// }
|
|
//
|
|
// class BaseFooImpl implements BaseFoo {
|
|
// hello() {/**BaseFooImpl*/} // Should not show up
|
|
// }
|
|
//
|
|
// class BarImpl implements Bar {
|
|
// <|[|hello|]() {/**BarImpl*/}|>
|
|
// goodbye() {}
|
|
// }
|
|
//
|
|
// class FooAndBarImpl implements Foo, Bar {
|
|
// <|[|hello|]() {/**FooAndBarImpl*/}|>
|
|
// aloha() {}
|
|
// goodbye() {}
|
|
// }
|
|
//
|
|
// function someFunction(x: Foo | Bar) {
|
|
// x.he/*GOTO IMPL*/llo();
|
|
// }
|
|
//
|
|
// function anotherFunction(x: Foo & Bar) {
|
|
// x.hello();
|
|
// }
|
|
|
|
|
|
|
|
// === goToImplementation ===
|
|
// === /goToImplementationInterfaceMethod_10.ts ===
|
|
// --- (line: 11) skipped ---
|
|
// }
|
|
//
|
|
// class FooImpl implements Foo {
|
|
// <|[|hello|]() {/**FooImpl*/}|>
|
|
// aloha() {}
|
|
// }
|
|
//
|
|
// class BaseFooImpl implements BaseFoo {
|
|
// hello() {/**BaseFooImpl*/} // Should not show up
|
|
// }
|
|
//
|
|
// class BarImpl implements Bar {
|
|
// <|[|hello|]() {/**BarImpl*/}|>
|
|
// goodbye() {}
|
|
// }
|
|
//
|
|
// class FooAndBarImpl implements Foo, Bar {
|
|
// <|[|hello|]() {/**FooAndBarImpl*/}|>
|
|
// aloha() {}
|
|
// goodbye() {}
|
|
// }
|
|
//
|
|
// function someFunction(x: Foo | Bar) {
|
|
// x.hello();
|
|
// }
|
|
//
|
|
// function anotherFunction(x: Foo & Bar) {
|
|
// x.he/*GOTO IMPL*/llo();
|
|
// } |