mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
501 B
JSON
23 lines
501 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationNamespace_04.ts ===
|
|
// namespace Foo {
|
|
// export interface Bar {
|
|
// hello(): void;
|
|
// }
|
|
//
|
|
// <|class [|BarImpl|] implements Bar {
|
|
// hello() {}
|
|
// }|>
|
|
// }
|
|
//
|
|
// <|class [|Baz|] implements Foo.Bar {
|
|
// hello() {}
|
|
// }|>
|
|
//
|
|
// var someVar1 : Foo.Bar = [|{ hello: () => {/**1*/} }|];
|
|
//
|
|
// var someVar2 = <Foo.Bar> [|{ hello: () => {/**2*/} }|];
|
|
//
|
|
// function whatever(x: Foo.Ba/*GOTO IMPL*/r) {
|
|
//
|
|
// } |