Click here to Skip to main content
15,881,248 members
Articles / Programming Languages / Typescript

Non-structural Type Constraints

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
3 Sep 2021CPOL13 min read 9.5K   36   1  
Creating type mappings for use in constraints.
Non-structural type constraints and a solution to create them in Typescript. Covers the conceptual idea behind what they accomplish, the reasoning behind the solution, and an example of where they could find use.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Software engineer dedicated to constantly learning and improving with a focus on self-documenting code and informed design decisions. Interested in most everything. Currently diving down the rabbit-hole of functional programming and category theory.

Comments and Discussions