( comparator: comparator, limit: limit, boundKind: boundKind )
| 294 | export type arrayIsNotGenericHint = typeof arrayIsNotGenericHint |
| 295 | |
| 296 | export const writeInvalidLimitMessage = < |
| 297 | comparator extends Comparator, |
| 298 | limit extends string | number, |
| 299 | boundKind extends BoundExpressionKind |
| 300 | >( |
| 301 | comparator: comparator, |
| 302 | limit: limit, |
| 303 | boundKind: boundKind |
| 304 | ): writeInvalidLimitMessage<comparator, limit, boundKind> => |
| 305 | `Comparator ${ |
| 306 | boundKind === "left" ? invertedComparators[comparator] : (comparator as any) |
| 307 | } must be ${ |
| 308 | boundKind === "left" ? "preceded" : ("followed" as any) |
| 309 | } by a corresponding literal (was ${limit})` |
| 310 | |
| 311 | export type writeInvalidLimitMessage< |
| 312 | comparator extends Comparator, |
no outgoing calls
no test coverage detected