CalendarContext
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Which calendar the caller is resolving granularities for.
export type CalendarContext = {
type: "standard";
} | {
type: "fiscal";
} | {
type: "custom";
enabledGranularities: IEnabledGranularity[];
};
References: IEnabledGranularity