8000 docs(eslint-plugin): [no-unsafe-member-access] update variable naming… · raszi/typescript-eslint@1329294 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1329294

Browse files
authored
docs(eslint-plugin): [no-unsafe-member-access] update variable naming (typescript-eslint#2575)
1 parent e26e43f commit 1329294

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/eslint-plugin/docs/rules/no-unsafe-member-access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ Examples of **correct** code for this rule:
3535
```ts
3636
declare const properlyTyped: { prop: { a: string } };
3737

38-
nestedAny.prop.a;
39-
nestedAny.prop['a'];
38+
properlyTyped.prop.a;
39+
properlyTyped.prop['a'];
4040

4141
const key = 'a';
42-
nestedAny.prop[key];
42+
properlyTyped.prop[key];
4343

4444
const arr = [1, 2, 3];
4545
arr[1];

0 commit comments

Comments
 (0)
0