(expiresAt: string)
| 131 | } |
| 132 | |
| 133 | export function isAuthCodeExpired(expiresAt: string): boolean { |
| 134 | const expiresAtMs = Number(expiresAt) |
| 135 | return !Number.isFinite(expiresAtMs) || expiresAtMs < Date.now() |
| 136 | } |
no outgoing calls
no test coverage detected