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

13 lines
450 B
Plaintext
Raw Normal View History

tests/cases/compiler/client.ts(1,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;
export default a;
2015-02-09 17:54:48 +01:00
==== tests/cases/compiler/client.ts (1 errors) ====
export import defaultBinding, * as nameSpaceBinding from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
2015-02-09 17:54:48 +01:00
export var x: number = defaultBinding;