File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export function DSVImport<T extends { [key: string]: string }>(props: PropsWithC
10
10
DSVImport . TextareaInput = TextareaInput ;
11
11
DSVImport . TablePreview = TablePreview ;
12
12
13
- export { ColumnsType } from './models/column' ;
13
+ export { ColumnType , ColumnsType } from './models/column' ;
14
14
export { useDSVImport } from './features/context' ;
15
15
export { Rule } from './models/rule' ;
16
+ export { Transformer } from './models/transformer' ;
Original file line number Diff line number Diff line change 1
1
import { Rule } from './rule' ;
2
2
import { Transformer } from './transformer' ;
3
3
4
- export type ColumnsType < T > = { key : keyof T ; label : string ; rules ?: Rule [ ] ; transformers ?: Transformer [ ] } [ ] ;
4
+ export type ColumnType < T > = { key : keyof T ; label : string ; rules ?: Rule [ ] ; transformers ?: Transformer [ ] } ;
5
+ export type ColumnsType < T > = ColumnType < T > [ ] ;
You can’t perform that action at this time.
0 commit comments