(value: string)
| 95 | let date: Date; |
| 96 | if (input instanceof Date) { |
| 97 | date = input; |
| 98 | } else if (typeof input === "number") { |
| 99 | date = new Date(input * 1000); |
| 100 | } else if (typeof input === "bigint") { |
| 101 | date = new Date(Number(input) * 1000); |
| 102 | } else { |
no outgoing calls
no test coverage detected