The no-empty-function rule does not correctly handle TypeScript-specific syntax, leading to false positives…
The no-empty-function rule does not correctly handle TypeScript-specific syntax, leading to false positives…: a task in LegoFlow-SWE (Harbor dataset). In TypeScript, a constructor with parameter properties performs property initialisation via the parameter declaration itself. The body may be…
The task
In TypeScript, a constructor with parameter properties performs property initialisation via the parameter declaration itself. The body may be entirely empty, but the constructor is not logically empty.
Part of Lego-X/LegoFlow-SWE.