Skip to content

Commit

Permalink
docs(eslint-plugin): [no-unsafe-member-access] correct example idx fr…
Browse files Browse the repository at this point in the history
…om const to let (#7833)

Update no-unsafe-member-access.md

Update variable declaration from const to let
  • Loading branch information
BrianDawson committed Oct 25, 2023
1 parent 695f75d commit 6455278
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ properlyTyped.prop[key];

const arr = [1, 2, 3];
arr[1];
const idx = 1;
let idx = 1;
arr[idx];
arr[idx++];
```
Expand Down

0 comments on commit 6455278

Please sign in to comment.