Skip to content

Explicit type annotation required in TS 4.5 #47384

Open
@mikearnaldi

Description

@mikearnaldi

Bug Report

I am sorry to report a bug in this way without a minimized repro but I wasn't able to minimise it, I'd be happy to do more in debugging it but I'd need some pointers.

🔎 Search Terms

explicit type annotation, 4.5 issues

🕗 Version & Regression Information

This was introduced in 4.5, it's not yet fixed in next and is working fine up to 4.4

💻 Code

Effect-Deprecated/monocle@401ff6b#diff-05996f2c5b1dbbe79e34a0167eb2ee5017f540f68dd1f94e16cc9760ff3aabacR171

🙁 Actual behavior

Screenshot 2022-01-11 104517

🙂 Expected behavior

to compile fine, there are no two types named F, when explicitly annotated like in the commit above the compiler can check the type correctly.

Screenshot 2022-01-11 104634

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions