Skip to content

Commit f46d279

Browse files
WangMingHua111Manweill
authored andcommitted
fix: AxiosInstance AxiosRequestConfig 属于 type 类型
1 parent 2c6aba8 commit f46d279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/serviceHeader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function serviceHeader(options: ISwaggerOptions) {
1111
return `/** Generate by swagger-axios-codegen */
1212
/* eslint-disable */
1313
// @ts-nocheck
14-
import axiosStatic, { AxiosInstance, AxiosRequestConfig } from 'axios';
14+
import axiosStatic, { type AxiosInstance, type AxiosRequestConfig } from 'axios';
1515
1616
${classTransformerImport}
1717
@@ -67,7 +67,7 @@ export function customerServiceHeader(options: ISwaggerOptions) {
6767
return `/** Generate by swagger-axios-codegen */
6868
// @ts-nocheck
6969
/* eslint-disable */
70-
import axiosStatic, { AxiosInstance, AxiosRequestConfig } from 'axios';
70+
import axiosStatic, { type AxiosInstance, type AxiosRequestConfig } from 'axios';
7171
7272
export interface IRequestOptions extends AxiosRequestConfig {
7373
/**

0 commit comments

Comments
 (0)