TypeScript/tests/baselines/reference/reservedNameOnModuleImport.types

14 lines
288 B
Plaintext
Raw Normal View History

2014-08-28 01:58:31 +02:00
=== tests/cases/compiler/reservedNameOnModuleImport.ts ===
declare module test {
>test : typeof test
2014-08-28 01:58:31 +02:00
module mstring { }
>mstring : any
2014-08-28 01:58:31 +02:00
// Should be fine; this does not clobber any declared values.
export import string = mstring;
>string : any
>mstring : any
2014-08-28 01:58:31 +02:00
}