advanced-rest-client / api-type-document

⛔️ DEPRECATED This component is being deprecated. Use `api-documentation` instead.
0 stars 2 forks source link

fix: Correct the order of data type check #36

Open deiteris opened 3 years ago

deiteris commented 3 years ago

Current order results in any shape after Any being unreachable, since all shapes consist of AnyShape. This also fixes Tuple type since it is a part of ArrayShape. This also removes duplicate check for UnionShape.