mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
519 B
JSON
21 lines
519 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationInterface_00.ts ===
|
|
// interface Fo/*GOTO IMPL*/o {
|
|
// hello: () => void
|
|
// }
|
|
//
|
|
// <|interface [|Baz|] extends Foo {}|>
|
|
//
|
|
// var bar: Foo = [|{ hello: helloImpl /**0*/ }|];
|
|
// var baz: Foo[] = [|[{ hello: helloImpl /**4*/ }]|];
|
|
//
|
|
// function helloImpl () {}
|
|
//
|
|
// function whatever(x: Foo = [|{ hello() {/**1*/} }|] ) {
|
|
// }
|
|
//
|
|
// class Bar {
|
|
// x: Foo = [|{ hello() {} }|]
|
|
//
|
|
// constructor(public f: Foo = [|{ hello() {/**3*/} }|] ) {}
|
|
// } |