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

Function _test

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

Source from the content-addressed store, hash-verified

212
213 it("allows dates to be of different types", () => {
214 function _test<DateType1 extends Date, DateType2 extends Date>(
215 start: DateType1 | number | string,
216 end: DateType2 | number | string,
217 ) {
218 eachDayOfInterval({ start, end });
219 }
220 });
221
222 describe("context", () => {

Callers

nothing calls this directly

Calls 1

eachDayOfIntervalFunction · 0.90

Tested by

no test coverage detected