Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Oct 6, 2023
1 parent 8e75d2c commit e677bb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-plugin/tests/rules/no-unsafe-return.test.ts
Expand Up @@ -114,6 +114,11 @@ function foo(): Set<number> {
return [] as any[];
}
`,
`
function foo(): unknown {
return [] as any[];
}
`,
],
invalid: [
{
Expand Down

0 comments on commit e677bb7

Please sign in to comment.