mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-22 12:39:13 +08:00

### What problem does this PR solve? fix: Delete the model.ts file of chat #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
import { KFModelState } from '@/pages/add-knowledge/components/knowledge-file/model';
|
|
|
|
declare module 'lodash';
|
|
|
|
function useSelector<TState = RootState, TSelected = unknown>(
|
|
selector: (state: TState) => TSelected,
|
|
equalityFn?: (left: TSelected, right: TSelected) => boolean,
|
|
): TSelected;
|
|
|
|
export interface RootState {
|
|
kFModel: KFModelState;
|
|
}
|
|
|
|
declare global {
|
|
type Nullable<T> = T | null;
|
|
}
|
|
|
|
declare module 'umi' {
|
|
export { useSelector };
|
|
}
|