We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following fragment, which uses the static initialization of s, marks D unused today:
s
D
function sideAffecting(): number { console.log("called"); return 10; } function foo() { class D { static s: number = sideAffecting(); } } foo();
Initially mentioned in #16078 but this is a separate issue.