2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(5,8): error TS1044: 'public' modifier cannot appear on a module element.
|
2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(6,1): error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(6,8): error TS1044: 'private' modifier cannot appear on a module element.
|
2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(7,1): error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/importDeclWithClassModifiers.ts(7,8): error TS1044: 'static' modifier cannot appear on a module element.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
~~~~~~
|
|
|
|
!!! error TS1044: 'public' modifier cannot appear on a module element.
|
2014-07-13 01:04:16 +02:00
|
|
|
export private import b = x.c;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
~~~~~~~
|
|
|
|
!!! error TS1044: 'private' modifier cannot appear on a module element.
|
2014-07-13 01:04:16 +02:00
|
|
|
export static import c = x.c;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'x' has no exported member 'c'.
|
2014-12-17 00:56:56 +01:00
|
|
|
~~~~~~
|
|
|
|
!!! error TS1044: 'static' modifier cannot appear on a module element.
|
2014-07-13 01:04:16 +02:00
|
|
|
var b: a;
|
|
|
|
|