(expiresAt: string)
| 152 | } |
| 153 | |
| 154 | export function isAuthCodeExpired(expiresAt: string): boolean { |
| 155 | const expiresAtMs = Number(expiresAt) |
| 156 | return !Number.isFinite(expiresAtMs) || expiresAtMs < Date.now() |
| 157 | } |
no outgoing calls
no test coverage detected