Skip to content

Allow classes to extend from values of type any #14301

Closed
@mhegazy

Description

@mhegazy
declare var Base: any;

class C extends Base {
}

This comes up in the context of untyped imports, as well as in js files.

Referenced in #13348 and #12971

Metadata

Metadata

Assignees

Labels

CommittedThe team has roadmapped this issueFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions