6 lines
No EOL
144 B
TypeScript
6 lines
No EOL
144 B
TypeScript
declare module Q {
|
|
function f(fn:()=>void); // typechecking the function type shouldnot crash the compiler
|
|
}
|
|
|
|
|
|
Q.f(function() {this;}); |