Skip to content

Commit

Permalink
docs(eslint-plugin): fix typo in example codeFix typo in example code (
Browse files Browse the repository at this point in the history
  • Loading branch information
nullromo committed Dec 20, 2021
1 parent 2788545 commit b5d00f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/docs/rules/no-unsafe-argument.md
Expand Up @@ -16,7 +16,7 @@ Examples of code for this rule:
### ❌ Incorrect

```ts
declare function foo(arg1: string, arg2: number, arg2: string): void;
declare function foo(arg1: string, arg2: number, arg3: string): void;

const anyTyped = 1 as any;

Expand All @@ -43,7 +43,7 @@ foo(new Set<any>(), new Map<any, string>());
### ✅ Correct

```ts
declare function foo(arg1: string, arg2: number, arg2: string): void;
declare function foo(arg1: string, arg2: number, arg3: string): void;

foo('a', 1, 'b');

Expand Down

0 comments on commit b5d00f5

Please sign in to comment.