=== tests/cases/compiler/privacyCheckAnonymousFunctionParameter2.ts === export var x = 1; // Makes this an external module >x : number >1 : number interface Iterator { x: T } >Iterator : Iterator >T : T >x : T >T : T module Q { >Q : typeof Q export function foo(x: (a: Iterator) => number) { >foo : (x: (a: Iterator) => number) => (a: Iterator) => number >T : T >x : (a: Iterator) => number >a : Iterator >Iterator : Iterator >T : T return x; >x : (a: Iterator) => number } } module Q { >Q : typeof Q function bar() { >bar : () => void foo(null); >foo(null) : (a: Iterator<{}>) => number >foo : (x: (a: Iterator) => number) => (a: Iterator) => number >null : null } }