Skip to content

Commit

Permalink
feat: change IAPIRequest method type replace | to &
Browse files Browse the repository at this point in the history
  • Loading branch information
liangskyli committed Mar 24, 2024
1 parent 689857b commit 955612e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-gen-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { methodList } from './utils';

type IAPIRequest = (param: {
url?: string;
method?: IOpenapiMethod | Uppercase<IOpenapiMethod> | string;
method?: (IOpenapiMethod | Uppercase<IOpenapiMethod>) & string;
params?: any;
path?: any;
data?: any;
Expand Down

0 comments on commit 955612e

Please sign in to comment.