|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
import type { Method, AxiosRequestConfig } from 'axios'; |
|
|
|
|
interface Obj { |
|
|
|
|
[key: string]: any; |
|
|
|
|
} |
|
|
|
@ -17,7 +16,7 @@ declare const Dec: {
|
|
|
|
|
personal: { |
|
|
|
|
username: string; |
|
|
|
|
}; |
|
|
|
|
reqByEncrypt: (method: Method, url: string, data?: any, config?: AxiosRequestConfig) => {}, |
|
|
|
|
reqByEncrypt: (method: AxiosType.X_Method, url: string, data?: any, config?: AxiosType.X_AxiosRequestConfig) => {}, |
|
|
|
|
socketEmit: (type: string, name: string, callback: (re: any) => void) => void; |
|
|
|
|
// req
|
|
|
|
|
reqGet: RequestFunction; |
|
|
|
|