TypeScript/tests/baselines/reference/privacyCheckTypeOfFunction.errors.txt
2014-09-11 16:11:08 -07:00

10 lines
352 B
Plaintext

==== tests/cases/compiler/privacyCheckTypeOfFunction.ts (2 errors) ====
function foo() {
}
export var x: typeof foo;
~
!!! error TS4025: Exported variable 'x' has or is using private name 'foo'.
export var b = foo;
~
!!! error TS4025: Exported variable 'b' has or is using private name 'foo'.