2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/Bar.ts ===
|
|
|
|
import Error = require('Foo');
|
2014-08-28 21:40:58 +02:00
|
|
|
>Error : typeof Error
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class Bar extends Error {}
|
|
|
|
>Bar : Bar
|
2014-08-25 19:36:12 +02:00
|
|
|
>Error : Error
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export = Bar;
|
|
|
|
>Bar : Bar
|
|
|
|
|
|
|
|
=== tests/cases/compiler/Foo.ts ===
|
|
|
|
|
|
|
|
class Foo {}
|
|
|
|
>Foo : Foo
|
|
|
|
|
|
|
|
export = Foo;
|
|
|
|
>Foo : Foo
|
|
|
|
|