Skip to content

Commit 17e56f5

Browse files
author
yhj
committed
chore: 1.1.0版本
1 parent d9a5dd1 commit 17e56f5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "axios-package2",
3-
"version": "1.0.4",
3+
"version": "1.1.0",
44
"description": "axios packaged for general use",
55
"main": "dist/index.umd.js",
66
"module": "dist/index.esm.js",

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
22
export declare type ResponseCallback = (res: AxiosResponse) => any;
33
export interface HttpClientConfig {
4-
axiosRequestConfig: AxiosRequestConfig;
5-
errorHandler: ResponseCallback | undefined;
4+
axiosRequestConfig?: AxiosRequestConfig;
5+
errorHandler?: ResponseCallback;
66
}
77
export interface HttpRequestParameters {
88
url: string;

0 commit comments

Comments
 (0)