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

22 lines
728 B
Text
Raw Normal View History

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