Accepting new baselines
This commit is contained in:
parent
57a9fc54c8
commit
f3fb85fa46
26 changed files with 132 additions and 116 deletions
|
@ -321,6 +321,7 @@ declare module "typescript" {
|
||||||
Let = 4096,
|
Let = 4096,
|
||||||
Const = 8192,
|
Const = 8192,
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
|
ExportContext = 32768,
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
AccessibilityModifier = 112,
|
AccessibilityModifier = 112,
|
||||||
BlockScoped = 12288,
|
BlockScoped = 12288,
|
||||||
|
@ -935,7 +936,7 @@ declare module "typescript" {
|
||||||
interface EmitResolver {
|
interface EmitResolver {
|
||||||
getGeneratedNameForNode(node: Node): string;
|
getGeneratedNameForNode(node: Node): string;
|
||||||
getExpressionNameSubstitution(node: Identifier): string;
|
getExpressionNameSubstitution(node: Identifier): string;
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
||||||
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
||||||
|
|
|
@ -978,6 +978,9 @@ declare module "typescript" {
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
>OctalLiteral : NodeFlags
|
>OctalLiteral : NodeFlags
|
||||||
|
|
||||||
|
ExportContext = 32768,
|
||||||
|
>ExportContext : NodeFlags
|
||||||
|
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
>Modifier : NodeFlags
|
>Modifier : NodeFlags
|
||||||
|
|
||||||
|
@ -2995,10 +2998,10 @@ declare module "typescript" {
|
||||||
>node : Identifier
|
>node : Identifier
|
||||||
>Identifier : Identifier
|
>Identifier : Identifier
|
||||||
|
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
>hasExportDefaultValue : (node: SourceFile) => boolean
|
>isValueExportDeclaration : (node: Node) => boolean
|
||||||
>node : SourceFile
|
>node : Node
|
||||||
>SourceFile : SourceFile
|
>Node : Node
|
||||||
|
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
>isReferencedAliasDeclaration : (node: Node) => boolean
|
>isReferencedAliasDeclaration : (node: Node) => boolean
|
||||||
|
|
|
@ -352,6 +352,7 @@ declare module "typescript" {
|
||||||
Let = 4096,
|
Let = 4096,
|
||||||
Const = 8192,
|
Const = 8192,
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
|
ExportContext = 32768,
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
AccessibilityModifier = 112,
|
AccessibilityModifier = 112,
|
||||||
BlockScoped = 12288,
|
BlockScoped = 12288,
|
||||||
|
@ -966,7 +967,7 @@ declare module "typescript" {
|
||||||
interface EmitResolver {
|
interface EmitResolver {
|
||||||
getGeneratedNameForNode(node: Node): string;
|
getGeneratedNameForNode(node: Node): string;
|
||||||
getExpressionNameSubstitution(node: Identifier): string;
|
getExpressionNameSubstitution(node: Identifier): string;
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
||||||
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
||||||
|
|
|
@ -1124,6 +1124,9 @@ declare module "typescript" {
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
>OctalLiteral : NodeFlags
|
>OctalLiteral : NodeFlags
|
||||||
|
|
||||||
|
ExportContext = 32768,
|
||||||
|
>ExportContext : NodeFlags
|
||||||
|
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
>Modifier : NodeFlags
|
>Modifier : NodeFlags
|
||||||
|
|
||||||
|
@ -3141,10 +3144,10 @@ declare module "typescript" {
|
||||||
>node : Identifier
|
>node : Identifier
|
||||||
>Identifier : Identifier
|
>Identifier : Identifier
|
||||||
|
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
>hasExportDefaultValue : (node: SourceFile) => boolean
|
>isValueExportDeclaration : (node: Node) => boolean
|
||||||
>node : SourceFile
|
>node : Node
|
||||||
>SourceFile : SourceFile
|
>Node : Node
|
||||||
|
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
>isReferencedAliasDeclaration : (node: Node) => boolean
|
>isReferencedAliasDeclaration : (node: Node) => boolean
|
||||||
|
|
|
@ -353,6 +353,7 @@ declare module "typescript" {
|
||||||
Let = 4096,
|
Let = 4096,
|
||||||
Const = 8192,
|
Const = 8192,
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
|
ExportContext = 32768,
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
AccessibilityModifier = 112,
|
AccessibilityModifier = 112,
|
||||||
BlockScoped = 12288,
|
BlockScoped = 12288,
|
||||||
|
@ -967,7 +968,7 @@ declare module "typescript" {
|
||||||
interface EmitResolver {
|
interface EmitResolver {
|
||||||
getGeneratedNameForNode(node: Node): string;
|
getGeneratedNameForNode(node: Node): string;
|
||||||
getExpressionNameSubstitution(node: Identifier): string;
|
getExpressionNameSubstitution(node: Identifier): string;
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
||||||
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
||||||
|
|
|
@ -1074,6 +1074,9 @@ declare module "typescript" {
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
>OctalLiteral : NodeFlags
|
>OctalLiteral : NodeFlags
|
||||||
|
|
||||||
|
ExportContext = 32768,
|
||||||
|
>ExportContext : NodeFlags
|
||||||
|
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
>Modifier : NodeFlags
|
>Modifier : NodeFlags
|
||||||
|
|
||||||
|
@ -3091,10 +3094,10 @@ declare module "typescript" {
|
||||||
>node : Identifier
|
>node : Identifier
|
||||||
>Identifier : Identifier
|
>Identifier : Identifier
|
||||||
|
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
>hasExportDefaultValue : (node: SourceFile) => boolean
|
>isValueExportDeclaration : (node: Node) => boolean
|
||||||
>node : SourceFile
|
>node : Node
|
||||||
>SourceFile : SourceFile
|
>Node : Node
|
||||||
|
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
>isReferencedAliasDeclaration : (node: Node) => boolean
|
>isReferencedAliasDeclaration : (node: Node) => boolean
|
||||||
|
|
|
@ -390,6 +390,7 @@ declare module "typescript" {
|
||||||
Let = 4096,
|
Let = 4096,
|
||||||
Const = 8192,
|
Const = 8192,
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
|
ExportContext = 32768,
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
AccessibilityModifier = 112,
|
AccessibilityModifier = 112,
|
||||||
BlockScoped = 12288,
|
BlockScoped = 12288,
|
||||||
|
@ -1004,7 +1005,7 @@ declare module "typescript" {
|
||||||
interface EmitResolver {
|
interface EmitResolver {
|
||||||
getGeneratedNameForNode(node: Node): string;
|
getGeneratedNameForNode(node: Node): string;
|
||||||
getExpressionNameSubstitution(node: Identifier): string;
|
getExpressionNameSubstitution(node: Identifier): string;
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
|
||||||
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
getNodeCheckFlags(node: Node): NodeCheckFlags;
|
||||||
|
|
|
@ -1247,6 +1247,9 @@ declare module "typescript" {
|
||||||
OctalLiteral = 16384,
|
OctalLiteral = 16384,
|
||||||
>OctalLiteral : NodeFlags
|
>OctalLiteral : NodeFlags
|
||||||
|
|
||||||
|
ExportContext = 32768,
|
||||||
|
>ExportContext : NodeFlags
|
||||||
|
|
||||||
Modifier = 499,
|
Modifier = 499,
|
||||||
>Modifier : NodeFlags
|
>Modifier : NodeFlags
|
||||||
|
|
||||||
|
@ -3264,10 +3267,10 @@ declare module "typescript" {
|
||||||
>node : Identifier
|
>node : Identifier
|
||||||
>Identifier : Identifier
|
>Identifier : Identifier
|
||||||
|
|
||||||
hasExportDefaultValue(node: SourceFile): boolean;
|
isValueExportDeclaration(node: Node): boolean;
|
||||||
>hasExportDefaultValue : (node: SourceFile) => boolean
|
>isValueExportDeclaration : (node: Node) => boolean
|
||||||
>node : SourceFile
|
>node : Node
|
||||||
>SourceFile : SourceFile
|
>Node : Node
|
||||||
|
|
||||||
isReferencedAliasDeclaration(node: Node): boolean;
|
isReferencedAliasDeclaration(node: Node): boolean;
|
||||||
>isReferencedAliasDeclaration : (node: Node) => boolean
|
>isReferencedAliasDeclaration : (node: Node) => boolean
|
||||||
|
|
|
@ -11,23 +11,23 @@ var c = new A();
|
||||||
=== tests/cases/compiler/ambientExternalModuleWithInternalImportDeclaration_0.ts ===
|
=== tests/cases/compiler/ambientExternalModuleWithInternalImportDeclaration_0.ts ===
|
||||||
declare module 'M' {
|
declare module 'M' {
|
||||||
module C {
|
module C {
|
||||||
>C : typeof X
|
>C : typeof C
|
||||||
|
|
||||||
export var f: number;
|
export var f: number;
|
||||||
>f : number
|
>f : number
|
||||||
}
|
}
|
||||||
class C {
|
class C {
|
||||||
>C : X
|
>C : C
|
||||||
|
|
||||||
foo(): void;
|
foo(): void;
|
||||||
>foo : () => void
|
>foo : () => void
|
||||||
}
|
}
|
||||||
import X = C;
|
import X = C;
|
||||||
>X : typeof X
|
>X : typeof C
|
||||||
>C : X
|
>C : C
|
||||||
|
|
||||||
export = X;
|
export = X;
|
||||||
>X : X
|
>X : C
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,23 +42,23 @@ module m2 {
|
||||||
|
|
||||||
}
|
}
|
||||||
var m2: {
|
var m2: {
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
(): m2.connectExport;
|
(): m2.connectExport;
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectExport : default.connectExport
|
>connectExport : export=.connectExport
|
||||||
|
|
||||||
test1: m2.connectModule;
|
test1: m2.connectModule;
|
||||||
>test1 : default.connectModule
|
>test1 : export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
test2(): m2.connectModule;
|
test2(): m2.connectModule;
|
||||||
>test2 : () => default.connectModule
|
>test2 : () => export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
};
|
};
|
||||||
export = m2;
|
export = m2;
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ declare module "express" {
|
||||||
function express(): express.ExpressServer;
|
function express(): express.ExpressServer;
|
||||||
>express : typeof express
|
>express : typeof express
|
||||||
>express : unknown
|
>express : unknown
|
||||||
>ExpressServer : default.ExpressServer
|
>ExpressServer : export=.ExpressServer
|
||||||
|
|
||||||
module express {
|
module express {
|
||||||
>express : typeof express
|
>express : typeof express
|
||||||
|
|
|
@ -27,24 +27,24 @@ module m2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
var m2: {
|
var m2: {
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
(): m2.connectExport;
|
(): m2.connectExport;
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectExport : default.connectExport
|
>connectExport : export=.connectExport
|
||||||
|
|
||||||
test1: m2.connectModule;
|
test1: m2.connectModule;
|
||||||
>test1 : default.connectModule
|
>test1 : export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
test2(): m2.connectModule;
|
test2(): m2.connectModule;
|
||||||
>test2 : () => default.connectModule
|
>test2 : () => export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export = m2;
|
export = m2;
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
|
|
|
@ -28,24 +28,24 @@ module m2 {
|
||||||
|
|
||||||
var x = 10, m2: {
|
var x = 10, m2: {
|
||||||
>x : number
|
>x : number
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
(): m2.connectExport;
|
(): m2.connectExport;
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectExport : default.connectExport
|
>connectExport : export=.connectExport
|
||||||
|
|
||||||
test1: m2.connectModule;
|
test1: m2.connectModule;
|
||||||
>test1 : default.connectModule
|
>test1 : export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
test2(): m2.connectModule;
|
test2(): m2.connectModule;
|
||||||
>test2 : () => default.connectModule
|
>test2 : () => export=.connectModule
|
||||||
>m2 : unknown
|
>m2 : unknown
|
||||||
>connectModule : default.connectModule
|
>connectModule : export=.connectModule
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export = m2;
|
export = m2;
|
||||||
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
|
>m2 : { (): export=.connectExport; test1: export=.connectModule; test2(): export=.connectModule; }
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
||||||
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo1.ts(4,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo1.ts(4,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo2.ts(3,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo2.ts(3,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo2.ts(4,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo2.ts(4,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo3.ts(7,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo3.ts(7,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo3.ts(8,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo3.ts(8,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo4.ts(1,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo4.ts(1,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo4.ts(8,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo4.ts(8,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo5.ts(4,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo5.ts(4,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo5.ts(5,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo5.ts(5,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/conformance/externalModules/foo1.ts (3 errors) ====
|
==== tests/cases/conformance/externalModules/foo1.ts (3 errors) ====
|
||||||
|
@ -19,20 +19,20 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate id
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = y;
|
export = y;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
==== tests/cases/conformance/externalModules/foo2.ts (2 errors) ====
|
==== tests/cases/conformance/externalModules/foo2.ts (2 errors) ====
|
||||||
var x = 10;
|
var x = 10;
|
||||||
class y {};
|
class y {};
|
||||||
export = x;
|
export = x;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = y;
|
export = y;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
==== tests/cases/conformance/externalModules/foo3.ts (2 errors) ====
|
==== tests/cases/conformance/externalModules/foo3.ts (2 errors) ====
|
||||||
module x {
|
module x {
|
||||||
|
@ -43,15 +43,15 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate id
|
||||||
}
|
}
|
||||||
export = x;
|
export = x;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = y;
|
export = y;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
==== tests/cases/conformance/externalModules/foo4.ts (2 errors) ====
|
==== tests/cases/conformance/externalModules/foo4.ts (2 errors) ====
|
||||||
export = x;
|
export = x;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
function x(){
|
function x(){
|
||||||
return 42;
|
return 42;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate id
|
||||||
}
|
}
|
||||||
export = y;
|
export = y;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
==== tests/cases/conformance/externalModules/foo5.ts (3 errors) ====
|
==== tests/cases/conformance/externalModules/foo5.ts (3 errors) ====
|
||||||
var x = 5;
|
var x = 5;
|
||||||
|
@ -68,11 +68,11 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate id
|
||||||
var z = {};
|
var z = {};
|
||||||
export = x;
|
export = x;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = y;
|
export = y;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = z;
|
export = z;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBinding_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBinding_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBinding_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBinding_0"' has no default export.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/es6ImportDefaultBinding_0.ts (0 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBinding_0.ts (0 errors) ====
|
||||||
|
@ -8,4 +8,4 @@ tests/cases/compiler/es6ImportDefaultBinding_1.ts(1,8): error TS1192: External m
|
||||||
==== tests/cases/compiler/es6ImportDefaultBinding_1.ts (1 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBinding_1.ts (1 errors) ====
|
||||||
import defaultBinding from "es6ImportDefaultBinding_0";
|
import defaultBinding from "es6ImportDefaultBinding_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBinding_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBinding_0"' has no default export.
|
|
@ -1,14 +1,14 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(1,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(1,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(2,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(2,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(3,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(3,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(3,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(3,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(4,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(4,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(4,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(4,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(5,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(5,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(5,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(5,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(6,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(6,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(6,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(6,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,31 +21,31 @@ tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts(6,8): e
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts (12 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts (12 errors) ====
|
||||||
import defaultBinding, { } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { a } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { a } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { m, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
import defaultBinding, { m, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
|
@ -1,14 +1,14 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(1,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(1,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(2,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(2,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(3,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(3,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(3,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(3,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(4,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(4,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(4,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(4,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(5,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(5,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(5,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(5,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(6,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(6,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(6,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(6,8): error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,31 +21,31 @@ tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(6,
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts (12 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts (12 errors) ====
|
||||||
import defaultBinding, { } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { a } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { a } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
||||||
import defaultBinding, { m, } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
import defaultBinding, { m, } from "es6ImportDefaultBindingFollowedWithNamedImportInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export.
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
!!! error TS2300: Duplicate identifier 'defaultBinding'.
|
|
@ -1,4 +1,4 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0"' has no default export.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0.ts (0 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0.ts (0 errors) ====
|
||||||
|
@ -8,4 +8,4 @@ tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts(1,
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts (1 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts (1 errors) ====
|
||||||
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0"' has no default export.
|
|
@ -1,4 +1,4 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"' has no default export.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts (0 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts (0 errors) ====
|
||||||
|
@ -8,4 +8,4 @@ tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts (1 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts (1 errors) ====
|
||||||
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0";
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"' has no default export.
|
|
@ -1,4 +1,4 @@
|
||||||
tests/cases/compiler/es6ImportDefaultBindingInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingInEs5_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportDefaultBindingInEs5_1.ts(1,8): error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingInEs5_0"' has no default export.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingInEs5_0.ts (0 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingInEs5_0.ts (0 errors) ====
|
||||||
|
@ -8,4 +8,4 @@ tests/cases/compiler/es6ImportDefaultBindingInEs5_1.ts(1,8): error TS1192: Exter
|
||||||
==== tests/cases/compiler/es6ImportDefaultBindingInEs5_1.ts (1 errors) ====
|
==== tests/cases/compiler/es6ImportDefaultBindingInEs5_1.ts (1 errors) ====
|
||||||
import defaultBinding from "es6ImportDefaultBindingInEs5_0";
|
import defaultBinding from "es6ImportDefaultBindingInEs5_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingInEs5_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportDefaultBindingInEs5_0"' has no default export.
|
|
@ -3,7 +3,7 @@ tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,10): error TS1141:
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,12): error TS1109: Expression expected.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,12): error TS1109: Expression expected.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,14): error TS2304: Cannot find name 'from'.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,14): error TS2304: Cannot find name 'from'.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,19): error TS1005: ';' expected.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(1,19): error TS1005: ';' expected.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportNamedImportParsingError_0"' has no default export or export assignment.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(2,8): error TS1192: External module '"tests/cases/compiler/es6ImportNamedImportParsingError_0"' has no default export.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(2,24): error TS1005: '{' expected.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(2,24): error TS1005: '{' expected.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(3,1): error TS1128: Declaration or statement expected.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(3,1): error TS1128: Declaration or statement expected.
|
||||||
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(3,8): error TS1128: Declaration or statement expected.
|
tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(3,8): error TS1128: Declaration or statement expected.
|
||||||
|
@ -34,7 +34,7 @@ tests/cases/compiler/es6ImportNamedImportParsingError_1.ts(4,20): error TS1005:
|
||||||
!!! error TS1005: ';' expected.
|
!!! error TS1005: ';' expected.
|
||||||
import defaultBinding, from "es6ImportNamedImportParsingError_0";
|
import defaultBinding, from "es6ImportNamedImportParsingError_0";
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
!!! error TS1192: External module '"tests/cases/compiler/es6ImportNamedImportParsingError_0"' has no default export or export assignment.
|
!!! error TS1192: External module '"tests/cases/compiler/es6ImportNamedImportParsingError_0"' has no default export.
|
||||||
~~~~
|
~~~~
|
||||||
!!! error TS1005: '{' expected.
|
!!! error TS1005: '{' expected.
|
||||||
import , { a } from "es6ImportNamedImportParsingError_0";
|
import , { a } from "es6ImportNamedImportParsingError_0";
|
||||||
|
|
|
@ -22,9 +22,9 @@ class Foo {
|
||||||
>Foo : Foo
|
>Foo : Foo
|
||||||
|
|
||||||
x: Foo.Bar;
|
x: Foo.Bar;
|
||||||
>x : default.Bar
|
>x : export=.Bar
|
||||||
>Foo : unknown
|
>Foo : unknown
|
||||||
>Bar : default.Bar
|
>Bar : export=.Bar
|
||||||
}
|
}
|
||||||
module Foo {
|
module Foo {
|
||||||
>Foo : typeof Foo
|
>Foo : typeof Foo
|
||||||
|
|
|
@ -12,7 +12,7 @@ interface server {
|
||||||
|
|
||||||
(): server.Server;
|
(): server.Server;
|
||||||
>server : unknown
|
>server : unknown
|
||||||
>Server : default.Server
|
>Server : export=.Server
|
||||||
|
|
||||||
startTime: Date;
|
startTime: Date;
|
||||||
>startTime : Date
|
>startTime : Date
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
tests/cases/compiler/multipleExportAssignments.ts(13,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/compiler/multipleExportAssignments.ts(13,1): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2300: Duplicate identifier 'default'.
|
tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/multipleExportAssignments.ts (2 errors) ====
|
==== tests/cases/compiler/multipleExportAssignments.ts (2 errors) ====
|
||||||
|
@ -17,9 +17,9 @@ tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2300: Duplicate
|
||||||
};
|
};
|
||||||
export = server;
|
export = server;
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = connectExport;
|
export = connectExport;
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(4,5): error TS2300: Duplicate identifier 'default'.
|
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(4,5): error TS2300: Duplicate identifier 'export='.
|
||||||
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): error TS2300: Duplicate identifier 'default'.
|
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): error TS2300: Duplicate identifier 'export='.
|
||||||
|
|
||||||
|
|
||||||
==== tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts (2 errors) ====
|
==== tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts (2 errors) ====
|
||||||
|
@ -8,8 +8,8 @@ tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): erro
|
||||||
var b: number;
|
var b: number;
|
||||||
export = a;
|
export = a;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
export = b;
|
export = b;
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
!!! error TS2300: Duplicate identifier 'default'.
|
!!! error TS2300: Duplicate identifier 'export='.
|
||||||
}
|
}
|
|
@ -12,9 +12,9 @@ interface Foo<T> {
|
||||||
>T : T
|
>T : T
|
||||||
}
|
}
|
||||||
var Foo: new () => Foo.A<Foo<string>>;
|
var Foo: new () => Foo.A<Foo<string>>;
|
||||||
>Foo : new () => default.A<Foo<string>>
|
>Foo : new () => export=.A<Foo<string>>
|
||||||
>Foo : unknown
|
>Foo : unknown
|
||||||
>A : default.A<T>
|
>A : export=.A<T>
|
||||||
>Foo : Foo<T>
|
>Foo : Foo<T>
|
||||||
|
|
||||||
export = Foo;
|
export = Foo;
|
||||||
|
|
Loading…
Reference in a new issue