Skip to content

Widening LHS in a dotted property access #1603

Closed
@JsonFreeman

Description

@JsonFreeman

The compiler widens the left hand side in a dotted property access, but section 4.10 in the spec does not mention the widening.

It is also strange that we do this for a dotted property access but not for a bracket access.

Metadata

Metadata

Assignees

Labels

SpecIssues related to the TypeScript language specification

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions