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
38 lines
No EOL
2.1 KiB
Text
38 lines
No EOL
2.1 KiB
Text
tests/cases/compiler/client.ts(3,27): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
tests/cases/compiler/client.ts(5,27): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
tests/cases/compiler/client.ts(7,27): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'x'.
|
|
tests/cases/compiler/client.ts(7,30): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
tests/cases/compiler/client.ts(9,27): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'x'.
|
|
tests/cases/compiler/client.ts(11,27): error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'm'.
|
|
|
|
|
|
==== tests/cases/compiler/server.ts (0 errors) ====
|
|
|
|
class a { }
|
|
export default a;
|
|
|
|
==== tests/cases/compiler/client.ts (6 errors) ====
|
|
import defaultBinding1, { } from "server";
|
|
export var x1 = new defaultBinding1();
|
|
import defaultBinding2, { a } from "server";
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
export var x2 = new defaultBinding2();
|
|
import defaultBinding3, { a as b } from "server";
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
export var x3 = new defaultBinding3();
|
|
import defaultBinding4, { x, a as y } from "server";
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'x'.
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'a'.
|
|
export var x4 = new defaultBinding4();
|
|
import defaultBinding5, { x as z, } from "server";
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'x'.
|
|
export var x5 = new defaultBinding5();
|
|
import defaultBinding6, { m, } from "server";
|
|
~
|
|
!!! error TS2305: Module '"tests/cases/compiler/server"' has no exported member 'm'.
|
|
export var x6 = new defaultBinding6(); |