Skip to content

Commit

Permalink
docs: corrected docs file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Feb 23, 2022
1 parent 06e3229 commit ecd559a
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1,9 +1,10 @@
# Disallow members of unions and intersections that do nothing or override type information (`no-redundant-type-constituents`)
# `no-redundant-type-constituents`

Some types can override some other types ("constituents") in a union or intersection and/or be overridden by some other types.
Disallow members of unions and intersections that do nothing or override type information.

## Rule Details

Some types can override some other types ("constituents") in a union or intersection and/or be overridden by some other types.
TypeScript's set theory of types includes cases where a constituent type might be useless in the parent union or intersection.

Within `|` unions:
Expand Down

0 comments on commit ecd559a

Please sign in to comment.