Skip to content

Commit

Permalink
test(eslint-plugin): fix a typo in a test, causing it to test the `er…
Browse files Browse the repository at this point in the history
…ror` type rather than the `unknown` type (#10204)

fix a typo in a test, causing it to test errored type rather than unknown type
  • Loading branch information
ronami authored Oct 24, 2024
1 parent 9c956ee commit af4743f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const x = [new Map<string, string>()] as const;
foo(new Set<string>(), ...x);
`,
`
declare function foo(arg1: unknown, arg2: Set<unkown>, arg3: unknown[]): void;
declare function foo(arg1: unknown, arg2: Set<unknown>, arg3: unknown[]): void;
foo(1 as any, new Set<any>(), [] as any[]);
`,
`
Expand Down

0 comments on commit af4743f

Please sign in to comment.