Skip to content

Can't call 'super' when extending from 'any' #17032

Closed
@ghost

Description

TypeScript Version: nightly (2.5.0-dev.20170707)

Code

declare const Super: any;
class C extends Super {
	constructor() {
		super();
	}
}

Expected behavior:

No error.

Actual behavior:

src/a.ts(4,3): error TS2346: Call target does not contain any signatures.

Ref: #14935, #14301

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions