21 lines
786 B
TypeScript
21 lines
786 B
TypeScript
//// [tests/cases/compiler/es6ImportNameSpaceImportMergeErrors.ts] ////
|
|
|
|
//// [es6ImportNameSpaceImportMergeErrors_0.ts]
|
|
|
|
export var a = 10;
|
|
|
|
//// [es6ImportNameSpaceImportMergeErrors_1.ts]
|
|
import * as nameSpaceBinding from "es6ImportNameSpaceImportMergeErrors_0";
|
|
interface nameSpaceBinding { } // this should be ok
|
|
|
|
import * as nameSpaceBinding1 from "es6ImportNameSpaceImportMergeErrors_0"; // should be error
|
|
import * as nameSpaceBinding1 from "es6ImportNameSpaceImportMergeErrors_0"; // should be error
|
|
|
|
import * as nameSpaceBinding3 from "es6ImportNameSpaceImportMergeErrors_0"; // should be error
|
|
var nameSpaceBinding3 = 10;
|
|
|
|
|
|
//// [es6ImportNameSpaceImportMergeErrors_0.js]
|
|
exports.a = 10;
|
|
//// [es6ImportNameSpaceImportMergeErrors_1.js]
|
|
var nameSpaceBinding3 = 10;
|