chore: align types

This commit is contained in:
mathuo 2023-04-01 21:01:07 +01:00
parent ffd5db273e
commit 7343009e9b
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
2 changed files with 10 additions and 3 deletions

View File

@ -43,8 +43,9 @@ export interface IGroupPanelBaseProps<T extends {} = Record<string, any>>
containerApi: DockviewApi;
}
export type IDockviewPanelHeaderProps<T extends {} = Record<string, any>> =
IGroupPanelBaseProps<T>;
export type IDockviewPanelHeaderProps<
T extends { [index: string]: any } = any
> = IGroupPanelBaseProps<T>;
export type IDockviewPanelProps<T extends { [index: string]: any } = any> =
IGroupPanelBaseProps<T>;

View File

@ -1,6 +1,12 @@
export * from 'dockview-core';
export * from './dockview/dockview';
export {
IDockviewPanelHeaderProps,
IDockviewPanelProps,
DockviewReadyEvent,
IDockviewReactProps,
DockviewReact,
} from './dockview/dockview';
export * from './dockview/defaultTab';
export * from './splitview/splitview';
export * from './gridview/gridview';