Conflicts: src/compiler/checker.ts src/compiler/diagnosticInformationMap.generated.ts src/compiler/emitter.ts tests/baselines/reference/es6ImportDefaultBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
17 lines
No EOL
659 B
Text
17 lines
No EOL
659 B
Text
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.
|
|
|
|
|
|
==== tests/cases/compiler/server.ts (0 errors) ====
|
|
|
|
var a = 10;
|
|
export default a;
|
|
|
|
==== tests/cases/compiler/client.ts (2 errors) ====
|
|
export import defaultBinding from "server";
|
|
~~~~~~
|
|
!!! error TS1191: An import declaration cannot have modifiers.
|
|
export var x = defaultBinding;
|
|
export import defaultBinding2 from "server"; // non referenced
|
|
~~~~~~
|
|
!!! error TS1191: An import declaration cannot have modifiers. |