Skip to content

[typeBaselines] Recursive type gets erased to any immediately #523

Closed
@JsonFreeman

Description

@JsonFreeman

Test case: tests/cases/compiler/declFileTypeofFunction.ts

var b: () => typeof b;

b : any
b : any

We expect both of these to be () => any

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions