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

8 lines
270 B
Plaintext

==== tests/cases/compiler/privacyCheckTypeOfFunction.ts (1 errors) ====
function foo() {
}
export var x: typeof foo;
~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Cannot compile external modules unless the '--module' flag is provided.
export var b = foo;