19 lines
314 B
Text
19 lines
314 B
Text
=== 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
|
|
}
|
|
}
|
|
|