2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/moduleAsBaseType.ts (3 errors) ====
|
|
|
|
module M {}
|
|
|
|
class C extends M {}
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'M'.
|
2014-07-13 01:04:16 +02:00
|
|
|
interface I extends M { }
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'M'.
|
2014-07-13 01:04:16 +02:00
|
|
|
class C2 implements M { }
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'M'.
|