Skip to content

Commit

Permalink
Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 8, 2024
1 parent 208434c commit 1ad227a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default createRule<Options, MessageIds>({
* For example:
*
* - `"foo" | "bar"` is a type with all literal types.
* - `"foo" | number` is a type that contain non-literal types.
* - `"foo" | number` is a type that contains non-literal types.
*
* Default cases are never superfluous in switches with non-literal types.
*/
Expand Down

0 comments on commit 1ad227a

Please sign in to comment.