Skip to content

Commit

Permalink
docs: link no-duplicate-type-constituents and no-redundant-type-const…
Browse files Browse the repository at this point in the history
…ituents to each other (#9612)
  • Loading branch information
kirkwaiblinger authored Jul 29, 2024
1 parent 365918e commit 46a5709
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ It can sometimes be useful for the sake of documentation to include aliases for
You might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) for those specific situations instead of completely disabling this rule.

> In some of those cases, [branded types](https://basarat.gitbook.io/typescript/main-1/nominaltyping#using-interfaces) might be a type-safe way to represent the underlying data types.
## Related To

- [no-redundant-type-constituents](./no-redundant-type-constituents.mdx)
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,7 @@ If you strongly feel a preference for these unnecessary type constituents, this
- [Intersection Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#intersection-types)
- [Bottom Types](https://en.wikipedia.org/wiki/Bottom_type)
- [Top Types](https://en.wikipedia.org/wiki/Top_type)

## Related To

- [no-duplicate-type-constituents](./no-duplicate-type-constituents.mdx)

0 comments on commit 46a5709

Please # to comment.