2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/implementInterfaceAnyMemberWithVoid.ts ===
|
|
|
|
interface I {
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(implementInterfaceAnyMemberWithVoid.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo(value: number);
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : (value: number) => any, Symbol(foo, Decl(implementInterfaceAnyMemberWithVoid.ts, 0, 13))
|
|
|
|
>value : number, Symbol(value, Decl(implementInterfaceAnyMemberWithVoid.ts, 1, 8))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class Bug implements I {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Bug : Bug, Symbol(Bug, Decl(implementInterfaceAnyMemberWithVoid.ts, 2, 1))
|
|
|
|
>I : I, Symbol(I, Decl(implementInterfaceAnyMemberWithVoid.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
public foo(value: number) {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : (value: number) => void, Symbol(foo, Decl(implementInterfaceAnyMemberWithVoid.ts, 4, 24))
|
|
|
|
>value : number, Symbol(value, Decl(implementInterfaceAnyMemberWithVoid.ts, 5, 15))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|