(
t: Type,
arrayType: (arrayType: ArrayType) => void,
classType: (classType: ClassType) => void,
mapType: (mapType: MapType) => void,
unionType: (unionType: UnionType) => void
)
| 529 | } |
| 530 | |
| 531 | export function matchCompoundType( |
| 532 | t: Type, |
| 533 | arrayType: (arrayType: ArrayType) => void, |
| 534 | classType: (classType: ClassType) => void, |
| 535 | mapType: (mapType: MapType) => void, |
| 536 | unionType: (unionType: UnionType) => void |
| 537 | ): void { |
| 538 | function ignore<T extends Type>(_: T): void { |
| 539 | return; |
| 540 | } |
| 541 | |
| 542 | return matchType( |
| 543 | t, |
| 544 | ignore, |
| 545 | ignore, |
| 546 | ignore, |
| 547 | ignore, |
| 548 | ignore, |
| 549 | ignore, |
| 550 | arrayType, |
| 551 | classType, |
| 552 | mapType, |
| 553 | ignore, |
| 554 | unionType, |
| 555 | { dateType: ignore, timeType: ignore, dateTimeType: ignore } |
| 556 | ); |
| 557 | } |
no test coverage detected
searching dependent graphs…