diff --git a/package.json b/package.json index 15900a96..423b9ce2 100644 --- a/package.json +++ b/package.json @@ -71,4 +71,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} +} \ No newline at end of file diff --git a/packages/fes-plugin-request/types.d.ts b/packages/fes-plugin-request/types.d.ts index d7bb4176..5332f339 100644 --- a/packages/fes-plugin-request/types.d.ts +++ b/packages/fes-plugin-request/types.d.ts @@ -15,6 +15,8 @@ interface RequestPluginOption { } } +export type RequestOptions = AxiosRequestConfig & RequestPluginOption; + export function request(url: string, data?: null | Record, options?: AxiosRequestConfig & RequestPluginOption ): Promise export function useRequest(url: string, data?: null | Record, options?: AxiosRequestConfig & RequestPluginOption ): {loadingRef: Ref; errorRef: Ref; dataRef: Ref} declare module "@fesjs/fes" {