12 lines
184 B
Plaintext
12 lines
184 B
Plaintext
|
=== tests/cases/compiler/interfaceOnly.ts ===
|
||
|
interface foo {
|
||
|
>foo : foo
|
||
|
|
||
|
foo();
|
||
|
>foo : () => any
|
||
|
|
||
|
f2 (f: ()=> void);
|
||
|
>f2 : (f: () => void) => any
|
||
|
>f : () => void
|
||
|
}
|