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

22 lines
728 B
Plaintext

==== tests/cases/compiler/importDeclWithClassModifiers.ts (6 errors) ====
module x {
interface c {
}
}
export public import a = x.c;
~~~~~~
!!! 'public' modifier cannot appear on a module element.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Module 'x' has no exported member 'c'.
export private import b = x.c;
~~~~~~~
!!! 'private' modifier cannot appear on a module element.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Module 'x' has no exported member 'c'.
export static import c = x.c;
~~~~~~
!!! 'static' modifier cannot appear on a module element.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Module 'x' has no exported member 'c'.
var b: a;