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.
1 parent 8987e56 commit e395e49Copy full SHA for e395e49
src/services/codefixes/addMissingConstInForLoop.ts
@@ -1,7 +1,10 @@
1
/* @internal */
2
namespace ts.codefix {
3
const fixId = "addMissingConstInForLoop";
4
- const errorCodes = [Diagnostics.Cannot_find_name_0.code];
+ const errorCodes = [
5
+ Diagnostics.Cannot_find_name_0.code,
6
+ Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code
7
+ ];
8
9
registerCodeFix({
10
errorCodes,
0 commit comments