API Reference

DatePropertytype

Union type of Date property names that can be accessed reactively.

Overview

Core value-access module: IndexValueAccessor selects the first accessor that applies (sorted by priority) and delegates reads/writes to it. Default accessors cover object properties, cached method-call results, arrays, maps, sets, observables, promises, date properties, and globalThis fallback.

Declaration

export type DateProperty =
  | 'year'
  | 'utcYear'
  | 'month'
  | 'utcMonth'
  | 'date'
  | 'utcDate'
  | 'hours'
  | 'utcHours'
  | 'minutes'
  | 'utcMinutes'
  | 'seconds'
  | 'utcSeconds'
  | 'milliseconds'
  | 'utcMilliseconds'
  | 'time';

Import

import type { DateProperty } from '@rs-x/core';