19 lines
332 B
TypeScript
19 lines
332 B
TypeScript
|
enum Foo {
|
||
|
"__a" = 1,
|
||
|
"(Anonymous function)" = 2,
|
||
|
"(Anonymous class)" = 4,
|
||
|
"__call" = 10
|
||
|
}
|
||
|
namespace Foo {
|
||
|
export function ___call(): number {
|
||
|
return 5;
|
||
|
}
|
||
|
}
|
||
|
function Bar() {
|
||
|
return "no";
|
||
|
}
|
||
|
namespace Bar {
|
||
|
export function __call(x: number): number {
|
||
|
return 5;
|
||
|
}
|
||
|
}
|