/**
 * Interfaces and types
 */

/**
 * Doc guard
 */
import * as d3 from 'd3'


/**
 * A timepoint. We only use weeks as of now.
 */
export type Timepoint = {
  year: number
  week: number
}

/**
 * Type of time point
 */
export type Point = 'regular-week' | 'mmwr-week' | 'biweek'

/**
 * Range of numbers
 */
export type Range = [number, number] | [string, string] | any[]


/**
 * X, Y position as tuple
 */
export type Position = [number, number]

/**
 * Event
 */
export type Event = string

/**
 * Interfaces and types
 */

/**
 * Doc guard
 */
import * as d3 from 'd3'


/**
 * A timepoint. We only use weeks as of now.
 */
export type Timepoint = {
  year: number
  week?: number,
  biweek?: number
}

/**
 * Type of time point
 */
export type Point = 'regular-week' | 'mmwr-week' | 'biweek'

/**
 * Range of numbers
 */
export type Range = [number, number] | [string, string] | any[]


/**
 * X, Y position as tuple
 */
export type Position = [number, number]

/**
 * Event
 */
export type Event = string

Add biweek key in timepoint
Add biweek key in timepoint
