diff --git a/uni_modules/uni-wifi/utssdk/interface.uts b/uni_modules/uni-wifi/utssdk/interface.uts index c2a2b2303aef36d0ed8702d68528425a7fa6b98b..b568d02386a91a826021bf12d31075821a0a4ab4 100644 --- a/uni_modules/uni-wifi/utssdk/interface.uts +++ b/uni_modules/uni-wifi/utssdk/interface.uts @@ -69,7 +69,7 @@ export type StopWifi = (option : WifiOption) => void export type GetWifiList = (option : WifiOption) => void -export type OnGetWifiList = (callback : UniWifiCallback) => void +export type OnGetWifiList = (callback : UniGetWifiListCallback) => void export type OffGetWifiList = (callback : UniWifiCallback) => void @@ -77,9 +77,9 @@ export type GetConnectedWifi = (option : GetConnectedWifiOptions) => void export type ConnectWifi = (option : WifiConnectOption) => void -export type OnWifiConnected = (callback : UniWifiCallback) => void +export type OnWifiConnected = (callback : UniWifiResultCallback) => void -export type OnWifiConnectedWithPartialInfo = (callback : UniWifiCallback) => void +export type OnWifiConnectedWithPartialInfo = (callback : UniWifiResultCallbackWithPartialInfo) => void export type OffWifiConnected = (callback : UniWifiCallback | null) => void