Skip to content

Commit

Permalink
chore: one simple single file instead of many files for three types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Aug 13, 2024
1 parent 6a965ed commit 2d8b6b4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
15 changes: 12 additions & 3 deletions projects/addon-charts/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
export * from './line-chart-hint-context';
export * from './line-handler';
export * from './line-type';
import type {TuiContext} from '@taiga-ui/cdk/types';

/**
* Native CSS border-style options
*/
export type TuiLineType = 'dashed' | 'dotted' | 'hidden' | 'none' | 'solid';

export type TuiLineHandler = (index: number, total: number) => TuiLineType;

export interface TuiLineChartHintContext<T> extends TuiContext<T> {
readonly index?: number;
}
5 changes: 0 additions & 5 deletions projects/addon-charts/types/line-chart-hint-context.ts

This file was deleted.

3 changes: 0 additions & 3 deletions projects/addon-charts/types/line-handler.ts

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-charts/types/line-type.ts

This file was deleted.

0 comments on commit 2d8b6b4

Please sign in to comment.