Skip to content

Commit af4743f

Browse files
authored
test(eslint-plugin): fix a typo in a test, causing it to test the error type rather than the unknown type (#10204)
fix a typo in a test, causing it to test errored type rather than unknown type
1 parent 9c956ee commit af4743f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/eslint-plugin/tests/rules/no-unsafe-argument.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const x = [new Map<string, string>()] as const;
7474
foo(new Set<string>(), ...x);
7575
`,
7676
`
77-
declare function foo(arg1: unknown, arg2: Set<unkown>, arg3: unknown[]): void;
77+
declare function foo(arg1: unknown, arg2: Set<unknown>, arg3: unknown[]): void;
7878
foo(1 as any, new Set<any>(), [] as any[]);
7979
`,
8080
`

0 commit comments

Comments
 (0)