12 lines
319 B
JavaScript
12 lines
319 B
JavaScript
|
//// [reservedNameOnModuleImportWithInterface.ts]
|
||
|
declare module test {
|
||
|
interface mi_string { }
|
||
|
module mi_string { }
|
||
|
|
||
|
// Should error; imports both a type and a module, which means it conflicts with the 'string' type.
|
||
|
import string = mi_string;
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [reservedNameOnModuleImportWithInterface.js]
|