Skip to content

Commit

Permalink
Fix incorrect type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
TimboKZ committed Nov 20, 2020
1 parent f1bc3ea commit 7c8d92e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions packages/chonky/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,18 @@ export {
FileActionState,
} from './types/action-handler.types';
export { ChonkyActionUnion } from './types/file-browser.types';

export { ChonkyIconName } from './types/icons.types';
export type ChonkyIconProps = import('./types/icons.types').ChonkyIconProps;
export { FileBrowserHandle, FileBrowserProps } from './types/file-browser.types';
export {
FileViewConfig,
FileViewConfigGrid,
FileViewConfigList,
FileViewMode,
} from './types/file-view.types';
export { ChonkyIconName, ChonkyIconProps } from './types/icons.types';
export { FileViewMode } from './types/file-view.types';
export type FileViewConfig = import('./types/file-view.types').FileViewConfig;
export type FileViewConfigGrid = import('./types/file-view.types').FileViewConfigGrid;
export type FileViewConfigList = import('./types/file-view.types').FileViewConfigList;

export { setChonkyDefaults } from './util/default-config';

export { ChonkyDndFileEntryItem, ChonkyDndFileEntryType } from './types/dnd.types';
export { ChonkyDndFileEntryType } from './types/dnd.types';
export type ChonkyDndFileEntryItem = import('./types/dnd.types').ChonkyDndFileEntryItem;

export type FileActionHandler = GenericFileActionHandler<ChonkyActionUnion>;
export type ChonkyFileActionData = MapFileActionsToData<ChonkyActionUnion>;

0 comments on commit 7c8d92e

Please sign in to comment.