fix types

This commit is contained in:
pierre
2023-09-05 17:02:24 +02:00
parent d364510400
commit f16498915a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ export type TClientContext = {
setConnectionStats: (connectionStats: ConnectionStatsItem[] | undefined) => void;
setConnectedSince: (connectedSince: DateTime | undefined) => void;
setShowInfoModal: (show: boolean) => void;
setServiceProvider: () => void;
setGateway: () => void;
setServiceProvider: () => Promise<void>;
setGateway: () => Promise<void>;
startConnecting: () => Promise<void>;
startDisconnecting: () => Promise<void>;
setUserDefinedGateway: React.Dispatch<React.SetStateAction<UserDefinedGateway>>;
@@ -21,8 +21,8 @@ const mockValues: TClientContext = {
setConnectionStatus: () => {},
startConnecting: async () => {},
startDisconnecting: async () => {},
setServiceProvider: () => {},
setGateway: () => {},
setServiceProvider: async () => {},
setGateway: async () => {},
setUserDefinedGateway: () => {},
setUserDefinedSPAddress: () => {},
setMonitoring: async () => {},