Closed
Description
Bug Report
🔎 Search Terms
- quick fix
- code action
- add missing properties
🕗 Version & Regression Information
4.8.0-dev.20220614, not a regression
💻 Code
For the code:
const x: Iterable<number> = {}
Trigger the quick fix for add missing properties
on x
🙁 Actual behavior
const x: Iterable<number> = {
"__@iterator@15": function (): Iterator<number, any, undefined> {
throw new Error("Function not implemented.");
}
}
🙂 Expected behavior
const x: Iterable<number> = {
[Symbol.iterator]: function (): Iterator<number, any, undefined> {
throw new Error("Function not implemented.");
}
}