Skip to content

Commit 2f422a8

Browse files
committed
Remove internal types from root exports
1 parent e574c76 commit 2f422a8

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

projects/js-packages/charts/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,3 @@ export type * from './types';
2525
export type * from './visx/types';
2626

2727
export type { LineStyles, GridStyles, EventHandlerParams } from '@visx/xychart';
28-
29-
export type { RenderLineStartGlyphProps } from './components/line-chart/line-chart';
30-
export type { LegendProps, BaseLegendProps, ChartLegendOptions } from './components/legend';
31-
export type { ConversionFunnelChartProps, FunnelStep } from './components/conversion-funnel-chart';

projects/js-packages/charts/src/stories/sample-data/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
* Provides reusable, high-quality datasets across all chart components
44
*/
55

6+
import type { FunnelStep } from '../../components/conversion-funnel-chart';
67
import type { LeaderboardEntry } from '../../components/leaderboard-chart';
7-
import type { SeriesData, DataPointPercentage, FunnelStep } from '../../types';
8+
import type { DataPointPercentage, SeriesData } from '../../types';
89

910
/**
1011
* Olympic medals data for top countries (1896-2020)

projects/js-packages/charts/src/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,3 @@ export interface ToggleEvent extends Event {
368368
newState: 'open' | 'closed';
369369
oldState: 'open' | 'closed';
370370
}
371-
// ConversionFunnelChart types
372-
export type { ConversionFunnelChartProps, FunnelStep } from './components/conversion-funnel-chart';

0 commit comments

Comments
 (0)