10 lines
267 B
TypeScript
10 lines
267 B
TypeScript
//// [reservedNameOnInterfaceImport.ts]
|
|
declare module test {
|
|
interface istring { }
|
|
|
|
// Should error; 'test.istring' is a type, so this import conflicts with the 'string' type.
|
|
import string = test.istring;
|
|
}
|
|
|
|
|
|
//// [reservedNameOnInterfaceImport.js]
|