Data Types
“Data types” come in a variety of shapes/sizes - interfaces, classes, structs, unions, enums, type aliases, typedefs, etc. While the level of documentation might differ based on the “kind” of data type, there are common considerations across all kinds of data types. And then there are specific nuances to documenting certain kind of types. The below sections give guidance for both cases: