(received: Type, expected: Type)
| 16 | } |
| 17 | |
| 18 | function assertEqual<Type>(received: Type, expected: Type) { |
| 19 | if (received === expected) return; |
| 20 | throw new Error(`Expected "${expected}", but got "${received}"`); |
| 21 | } |
| 22 | |
| 23 | // Edge case, see: https://github.com/date-fns/tz/issues/32#issuecomment-2832031823 |
| 24 | { |