Closed
Description
Bug Report
🔎 Search Terms
- ts check
- quick fix
- code action
🕗 Version & Regression Information
4.3.0-dev.20210228
💻 Code
For the javascript:
//@ts-check
add(1, 2);
Use add missing function declaration
on add
🙁 Actual behavior
The ts check comment is duplicated
//@ts-check
add(1, 2);
function //@ts-check
add(arg0, arg1) {
throw new Error("Function not implemented.");
}
🙂 Expected behavior
//@ts-check
add(1, 2);
function add(arg0, arg1) {
throw new Error("Function not implemented.");
}