import type AxisOptions from './AxisOptions'; import type Chart from '../Chart/Chart'; import type { DeepPartial } from '../../Shared/Types'; import type Series from '../Series/Series'; import type Tick from './Tick'; /** * Helper interface for axis types to add optional members to all axis * instances. * * Use the `declare module 'Types'` pattern to overload the interface in this * definition file. */ export interface AxisBase { categories?: Array; chart: Chart; coll: string; isXAxis?: boolean; max?: number; min?: number; options: AxisOptions; reversed?: boolean; series: Array; side: number; ticks: Record; userOptions: DeepPartial; visible: boolean; } export default AxisBase;