10 lines
No EOL
324 B
Text
10 lines
No EOL
324 B
Text
==== tests/cases/compiler/privacyCheckTypeOfFunction.ts (2 errors) ====
|
|
function foo() {
|
|
}
|
|
export var x: typeof foo;
|
|
~
|
|
!!! Exported variable 'x' has or is using private name 'foo'.
|
|
export var b = foo;
|
|
~
|
|
!!! Exported variable 'b' has or is using private name 'foo'.
|
|
|