TypeScript/tests/baselines/reference/privacyCheckTypeOfFunction.errors.txt

8 lines
270 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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;