(ms)
| 60 | return Date.now() - startTime; |
| 61 | }, |
| 62 | setTickInterval(ms) { |
| 63 | if (ms === currentTickIntervalMs) return; |
| 64 | currentTickIntervalMs = ms; |
| 65 | updateInterval(); |
| 66 | } |
| 67 | }; |
| 68 | } |
| 69 | export const ClockContext = createContext<Clock | null>(null); |
nothing calls this directly
no test coverage detected