Skip to content

typescript: "inside" broken for strings inside ternary branches #3067

@pokey

Description

@pokey

In the following code:

const aaa = true ? "bbb" : "ccc";

The scopes "inside bat" and "inside cap" return the whole strings "bbb" and "ccc" respectively, rather than bbb and ccc as expected

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions