MCPcopy
hub / github.com/date-fns/date-fns / _test

Function _test

pkgs/core/src/eachMinuteOfInterval/test.ts:222–227  ·  view source on GitHub ↗
(
      start: DateType1 | number | string,
      end: DateType2 | number | string,
    )

Source from the content-addressed store, hash-verified

220
221 it("allows dates to be of different types", () => {
222 function _test<DateType1 extends Date, DateType2 extends Date>(
223 start: DateType1 | number | string,
224 end: DateType2 | number | string,
225 ) {
226 eachMinuteOfInterval({ start, end });
227 }
228 });
229
230 describe("context", () => {

Callers

nothing calls this directly

Calls 1

eachMinuteOfIntervalFunction · 0.90

Tested by

no test coverage detected