14 lines
No EOL
535 B
Text
14 lines
No EOL
535 B
Text
tests/cases/compiler/importAsBaseClass_1.ts(2,21): error TS2507: Base expression is not of a constructor function type.
|
|
|
|
|
|
==== tests/cases/compiler/importAsBaseClass_1.ts (1 errors) ====
|
|
import Greeter = require("importAsBaseClass_0");
|
|
class Hello extends Greeter { }
|
|
~~~~~~~
|
|
!!! error TS2507: Base expression is not of a constructor function type.
|
|
|
|
==== tests/cases/compiler/importAsBaseClass_0.ts (0 errors) ====
|
|
export class Greeter {
|
|
greet() { return 'greet' }
|
|
}
|
|
|