11 lines
324 B
Plaintext
11 lines
324 B
Plaintext
==== tests/cases/compiler/moduleAsBaseType.ts (3 errors) ====
|
|
module M {}
|
|
class C extends M {}
|
|
~
|
|
!!! Cannot find name 'M'.
|
|
interface I extends M { }
|
|
~
|
|
!!! Cannot find name 'M'.
|
|
class C2 implements M { }
|
|
~
|
|
!!! Cannot find name 'M'. |