20 lines
314 B
Plaintext
20 lines
314 B
Plaintext
|
=== tests/cases/compiler/implementInterfaceAnyMemberWithVoid.ts ===
|
||
|
interface I {
|
||
|
>I : I
|
||
|
|
||
|
foo(value: number);
|
||
|
>foo : (value: number) => any
|
||
|
>value : number
|
||
|
}
|
||
|
|
||
|
class Bug implements I {
|
||
|
>Bug : Bug
|
||
|
>I : I
|
||
|
|
||
|
public foo(value: number) {
|
||
|
>foo : (value: number) => void
|
||
|
>value : number
|
||
|
}
|
||
|
}
|
||
|
|