--- id: AnyCalendarFeature title: AnyCalendarFeature --- # Interface: AnyCalendarFeature\ Defined in: [calendar/features/types.ts:84](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/types.ts#L84) ## Type Parameters ### TResource `TResource` *extends* [`Resource`](Resource.md) ### TEvent `TEvent` *extends* [`Event`](Event.md)\<`TResource`\> ## Properties ### api()? ```ts optional api: (host, module, peers) => object | undefined; ``` Defined in: [calendar/features/types.ts:88](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/types.ts#L88) #### Parameters ##### host [`CalendarHost`](CalendarHost.md)\<`TResource`, `TEvent`\> ##### module `never` ##### peers `never` #### Returns `object` \| `undefined` *** ### module()? ```ts optional module: (ctx) => Module; ``` Defined in: [calendar/features/types.ts:87](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/types.ts#L87) #### Parameters ##### ctx [`FeatureModuleCtx`](FeatureModuleCtx.md)\<`TResource`\> #### Returns `Module`\<`TEvent` & `KernelEvent`, `unknown`\> *** ### name ```ts name: string; ``` Defined in: [calendar/features/types.ts:85](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/types.ts#L85) *** ### requires? ```ts optional requires: readonly string[]; ``` Defined in: [calendar/features/types.ts:86](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/types.ts#L86)