10 lines
No EOL
350 B
Text
10 lines
No EOL
350 B
Text
==== tests/cases/compiler/reservedNameOnInterfaceImport.ts (1 errors) ====
|
|
declare module test {
|
|
interface istring { }
|
|
|
|
// Should error; 'test.istring' is a type, so this import conflicts with the 'string' type.
|
|
import string = test.istring;
|
|
~~~~~~
|
|
!!! Import name cannot be 'string'
|
|
}
|
|
|