Skip to content

Commit b43bf75

Browse files
committed
fix typo
1 parent b27a4c6 commit b43bf75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/common.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export interface GaxiosResponse<T = any> {
136136
request: GaxiosXMLHttpRequest;
137137
}
138138

139-
export interface GaxioMultipartOptions {
139+
export interface GaxiosMultipartOptions {
140140
headers: Headers;
141141
content: string | Readable;
142142
}
@@ -181,7 +181,7 @@ export interface GaxiosOptions {
181181
*/
182182
maxRedirects?: number;
183183
follow?: number;
184-
multipart?: GaxioMultipartOptions[];
184+
multipart?: GaxiosMultipartOptions[];
185185
params?: any;
186186
paramsSerializer?: (params: {[index: string]: string | number}) => string;
187187
timeout?: number;

src/gaxios.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {URL} from 'url';
2121

2222
import {
2323
FetchResponse,
24-
GaxioMultipartOptions,
24+
GaxiosMultipartOptions,
2525
GaxiosError,
2626
GaxiosOptions,
2727
GaxiosPromise,
@@ -439,7 +439,7 @@ export class Gaxios {
439439
* @param {string} boundary the boundary string to be placed between each part.
440440
*/
441441
private async *getMultipartRequest(
442-
multipartOptions: GaxioMultipartOptions[],
442+
multipartOptions: GaxiosMultipartOptions[],
443443
boundary: string
444444
) {
445445
const finale = `--${boundary}--`;

0 commit comments

Comments
 (0)