function defaultimport { default } from "https://deno.land/x/date_fns@v2.22.1/getDaysInYear/index.ts"; default(dirtyDate: Date | number): numberExamples// How many days are in 2012? const result = getDaysInYear(new Date(2012, 0, 1)) //=> 366 ParametersdirtyDate: Date | number the given date Returnsnumberthe number of days in a year