TypeScript/tests/baselines/reference/internalAliasFunctionInsideLocalModuleWithoutExportAccessError.errors.txt
2014-07-12 17:30:19 -07:00

15 lines
426 B
Plaintext

==== tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
export module a {
export function foo(x: number) {
return x;
}
}
export module c {
import b = a.foo;
var bVal = b(10);
export var bVal2 = b;
}
var d = c.b(11);
~
!!! Property 'b' does not exist on type 'typeof c'.