Skip to content

No error highlighting for type compatibility inside a decorator lambda #2971

Description

@zhuravlikjb
class A {
    @(x => {
        var a = 3;
        document.writeln(a); // no error here, though it should be
        return x; })
    m() {

    }
}

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions