Commit e4c4bc0
committed
Fix doc comments being applied only to the first overload
This duplication sucks, but it seems to be the right solution - see
https://stackoverflow.com/a/76887928
In any case, this fixes the issue where the generated `KaitaiStream.js`
file was missing documentation comments for the overloaded methods, and
where the generated `KaitaiStream.d.ts` file contained documentation
comments only for the first overload (with type `number`), while these
comments were missing for the second overloead (with type `bigint`).1 parent 9fd0954 commit e4c4bc0
1 file changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
1104 | 1110 | | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1105 | 1117 | | |
1106 | 1118 | | |
1107 | 1119 | | |
| |||
1122 | 1134 | | |
1123 | 1135 | | |
1124 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
1125 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1126 | 1150 | | |
1127 | 1151 | | |
1128 | 1152 | | |
| |||
1140 | 1164 | | |
1141 | 1165 | | |
1142 | 1166 | | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1143 | 1173 | | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
1144 | 1180 | | |
1145 | 1181 | | |
1146 | 1182 | | |
| |||
0 commit comments