TypeScript/tests/baselines/reference/reservedNameOnInterfaceImport.errors.txt

10 lines
350 B
Plaintext

==== 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'
}