(date: Date | null, name: string)
| 36 | } |
| 37 | |
| 38 | function assertIsDate(date: Date | null, name: string): asserts date is Date { |
| 39 | if (date === null) { |
| 40 | throw new Error(`${name} is unavailable`); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | async function ensureValidCopy( |
| 45 | src: string | URL, |
no outgoing calls
no test coverage detected