Element implicitly has an 'any' type because expression of type 'string' can't be used to index type #44351
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Bug Report
The following code used to work on 4.2.3, but does not build with 4.3.2, reporting the error on the last line
Error:
🕗 Version & Regression Information
I tracked the regression to the version 4.3.0-dev.20210422
Probably related to 8ea4ec9
⏯ Playground Link
Playground link with relevant code
Note how the last line is evaluated to
never
, however if you select version 4.2.3 it gets evaluated to"foo" | "bar"
as expected.The text was updated successfully, but these errors were encountered: