TypeScript/tests/baselines/reference/reservedNameOnModuleImport.types

14 lines
300 B
Plaintext
Raw Normal View History

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