--- id: HistoryApi title: HistoryApi --- # Interface: HistoryApi Defined in: [calendar/features/history.ts:8](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/history.ts#L8) ## Properties ### canRedo() ```ts canRedo: () => boolean; ``` Defined in: [calendar/features/history.ts:12](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/history.ts#L12) #### Returns `boolean` *** ### canUndo() ```ts canUndo: () => boolean; ``` Defined in: [calendar/features/history.ts:11](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/history.ts#L11) #### Returns `boolean` *** ### redo() ```ts redo: () => void; ``` Defined in: [calendar/features/history.ts:10](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/history.ts#L10) #### Returns `void` *** ### undo() ```ts undo: () => void; ``` Defined in: [calendar/features/history.ts:9](https://github.com/TanStack/time/blob/main/packages/time/src/calendar/features/history.ts#L9) #### Returns `void`