MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / FormattedRes

Interface FormattedRes

ahooks-hook/src/useCountdown.ts:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13export interface FormattedRes {
14 days: number;
15 hours: number;
16 minutes: number;
17 seconds: number;
18 milliseconds: number;
19}
20
21const calcLeft = (target?: TDate) => {
22 if (!target) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected