2015-02-25 00:53:38 +01:00
|
|
|
tests/cases/compiler/client.ts(1,1): error TS1191: An import declaration cannot have modifiers.
|
|
|
|
tests/cases/compiler/client.ts(3,1): error TS1191: An import declaration cannot have modifiers.
|
2015-02-09 17:54:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/compiler/server.ts (0 errors) ====
|
|
|
|
|
|
|
|
var a = 10;
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-02-09 17:54:48 +01:00
|
|
|
|
|
|
|
==== tests/cases/compiler/client.ts (2 errors) ====
|
|
|
|
export import defaultBinding from "server";
|
|
|
|
~~~~~~
|
2015-02-25 00:53:38 +01:00
|
|
|
!!! error TS1191: An import declaration cannot have modifiers.
|
2015-02-09 17:54:48 +01:00
|
|
|
export var x = defaultBinding;
|
|
|
|
export import defaultBinding2 from "server"; // non referenced
|
|
|
|
~~~~~~
|
2015-02-25 00:53:38 +01:00
|
|
|
!!! error TS1191: An import declaration cannot have modifiers.
|