2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/moduleAsBaseType.ts(2,17): error TS2304: Cannot find name 'M'.
|
|
|
|
tests/cases/compiler/moduleAsBaseType.ts(3,21): error TS2304: Cannot find name 'M'.
|
|
|
|
tests/cases/compiler/moduleAsBaseType.ts(4,21): error TS2304: Cannot find name 'M'.
|
|
|
|
|
|
|
|
|
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'.
|