File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,9 @@ const mxFunction = (base) => {
124
124
if ( this . _hasType ( range , rs . UnionShape ) ) {
125
125
return 'Union' ;
126
126
}
127
+ if ( this . _hasType ( range , rs . TupleShape ) ) {
128
+ return 'Tuple' ;
129
+ }
127
130
if ( this . _hasType ( range , rs . ArrayShape ) ) {
128
131
return 'Array' ;
129
132
}
@@ -136,21 +139,15 @@ const mxFunction = (base) => {
136
139
if ( this . _hasType ( range , rs . NilShape ) ) {
137
140
return 'Null' ;
138
141
}
139
- if ( this . _hasType ( range , rs . AnyShape ) ) {
140
- return 'Any' ;
141
- }
142
142
if ( this . _hasType ( range , rs . MatrixShape ) ) {
143
143
return 'Matrix' ;
144
144
}
145
- if ( this . _hasType ( range , rs . TupleShape ) ) {
146
- return 'Tuple' ;
147
- }
148
- if ( this . _hasType ( range , rs . UnionShape ) ) {
149
- return 'Union' ;
150
- }
151
145
if ( this . _hasType ( range , rs . RecursiveShape ) ) {
152
146
return 'Recursive' ;
153
147
}
148
+ if ( this . _hasType ( range , rs . AnyShape ) ) {
149
+ return 'Any' ;
150
+ }
154
151
return 'Unknown type' ;
155
152
}
156
153
You can’t perform that action at this time.
0 commit comments