49 lines
No EOL
1.7 KiB
Text
49 lines
No EOL
1.7 KiB
Text
tests/cases/conformance/externalModules/exportNonInitializedVariablesSystem.ts(2,4): error TS1123: Variable declaration list cannot be empty.
|
|
tests/cases/conformance/externalModules/exportNonInitializedVariablesSystem.ts(3,1): error TS1214: Identifier expected. 'let' is a reserved word in strict mode. Modules are automatically in strict mode.
|
|
tests/cases/conformance/externalModules/exportNonInitializedVariablesSystem.ts(3,1): error TS2304: Cannot find name 'let'.
|
|
tests/cases/conformance/externalModules/exportNonInitializedVariablesSystem.ts(4,6): error TS1123: Variable declaration list cannot be empty.
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/exportNonInitializedVariablesSystem.ts (4 errors) ====
|
|
|
|
var;
|
|
|
|
!!! error TS1123: Variable declaration list cannot be empty.
|
|
let;
|
|
~~~
|
|
!!! error TS1214: Identifier expected. 'let' is a reserved word in strict mode. Modules are automatically in strict mode.
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'let'.
|
|
const;
|
|
|
|
!!! error TS1123: Variable declaration list cannot be empty.
|
|
|
|
export var a;
|
|
export let b;
|
|
export var c: string;
|
|
export let d: number;
|
|
class A {}
|
|
export var e: A;
|
|
export let f: A;
|
|
|
|
namespace B {
|
|
export let a = 1, b, c = 2;
|
|
export let x, y, z;
|
|
}
|
|
|
|
module C {
|
|
export var a = 1, b, c = 2;
|
|
export var x, y, z;
|
|
}
|
|
|
|
// Shouldn't be filtered
|
|
export var a1 = 1;
|
|
export let b1 = 1;
|
|
export var c1: string = 'a';
|
|
export let d1: number = 1;
|
|
class D {}
|
|
export var e1 = new D;
|
|
export let f1 = new D;
|
|
export var g1: D = new D;
|
|
export let h1: D = new D;
|
|
|