mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-03 06:11:48 +00:00
Infer redux types when possible
This commit is contained in:
@@ -1,15 +1 @@
|
||||
import type { Settings } from '@shlinkio/shlink-web-component/settings';
|
||||
import type { SelectedServer, ServersMap } from '../servers/data';
|
||||
|
||||
/** Deprecated Use RootState */
|
||||
export type ShlinkState = {
|
||||
servers: ServersMap;
|
||||
selectedServer: SelectedServer;
|
||||
settings: Settings;
|
||||
appUpdated: boolean;
|
||||
};
|
||||
|
||||
export type ConnectDecorator = (props: string[] | null, actions?: string[]) => any;
|
||||
|
||||
/** @deprecated */
|
||||
export type GetState = () => ShlinkState;
|
||||
|
||||
Reference in New Issue
Block a user