Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getDefaultOptions

import { getDefaultOptions } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
const result = getDefaultOptions()
//=> {}
@example
setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 })
const result = getDefaultOptions()
//=> { weekStarsOn: 1, firstWeekContainsDate: 4 }
function getDefaultOptions(): DefaultOptions;
§
getDefaultOptions(): DefaultOptions
[src]

§Return Type

§

The default options