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