Skip to content

Commit

Permalink
fix(eslint-plugin): correct message for no-unsafe-unary-minus (#7998)
Browse files Browse the repository at this point in the history
fix: correct message for `no-unsafe-unary-minus`
  • Loading branch information
samestep committed Dec 5, 2023
1 parent 4c3e704 commit 705370a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/eslint-plugin/src/rules/no-unsafe-unary-minus.ts
Expand Up @@ -15,7 +15,8 @@ export default util.createRule<Options, MessageIds>({
requiresTypeChecking: true,
},
messages: {
unaryMinus: 'Invalid type "{{type}}" of template literal expression.',
unaryMinus:
'Argument of unary negation should be assignable to number | bigint but is {{type}} instead.',
},
schema: [],
},
Expand Down

0 comments on commit 705370a

Please sign in to comment.