diff --git a/packages/victory-candlestick/src/helper-methods.ts b/packages/victory-candlestick/src/helper-methods.ts index 24b72a8dc..ccc2a7d84 100644 --- a/packages/victory-candlestick/src/helper-methods.ts +++ b/packages/victory-candlestick/src/helper-methods.ts @@ -486,3 +486,6 @@ export const getBaseProps = (initialProps, fallbackProps) => { return childProps; }, initialChildProps); }; + +// @TODO: remove this before merging, it's just for verifying the analysis and report. +const fake = () => "fake"; diff --git a/packages/victory-candlestick/src/victory-candlestick.tsx b/packages/victory-candlestick/src/victory-candlestick.tsx index 167c4cb76..959b32da9 100644 --- a/packages/victory-candlestick/src/victory-candlestick.tsx +++ b/packages/victory-candlestick/src/victory-candlestick.tsx @@ -13,7 +13,6 @@ import { VictoryCommonProps, VictoryDatableProps, VictoryLabelStyleObject, - VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleObject, NumberOrCallback, @@ -43,8 +42,8 @@ export type VictoryCandlestickLabelsType = export interface VictoryCandlestickProps extends Omit, - VictoryDatableProps, - VictoryMultiLabelableProps { + VictoryDatableProps, + VictoryMultiLabelableProps { candleColors?: { positive?: string; negative?: string; @@ -72,13 +71,13 @@ export interface VictoryCandlestickProps highLabelComponent?: React.ReactElement; highLabels?: VictoryCandlestickLabelsType; labelOrientation?: - | OrientationTypes - | { - open?: OrientationTypes; - close?: OrientationTypes; - low?: OrientationTypes; - high?: OrientationTypes; - }; + | OrientationTypes + | { + open?: OrientationTypes; + close?: OrientationTypes; + low?: OrientationTypes; + high?: OrientationTypes; + }; low?: StringOrNumberOrCallback | string[]; lowLabelComponent?: React.ReactElement; lowLabels?: VictoryCandlestickLabelsType; @@ -315,4 +314,4 @@ export const bundleSizeIsDifferent = () => { const z = "the bundle size should be different"; return { x, y, z }; -} +};