Skip to content

Commit

Permalink
types: fix RunnerMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 30, 2023
1 parent 7a53a4e commit 6482257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type FetchMethod = 'get' | 'delete' | 'options' | 'head'

export type ModifyMethod = 'post' | 'put' | 'patch'

export type RunnerMethod = keyof Omit<AxleInstance, 'axios' | 'getHeaders' | 'setHeader' | 'removeHeader'>
export type RunnerMethod = keyof Omit<AxleInstance, 'axios' | 'getHeaders' | 'setHeader' | 'removeHeader' | 'useRequestInterceptor' | 'useResponseInterceptor'>

export interface Interceptor<V> {
onFulfilled?: ((value: V) => any) | null
Expand Down

0 comments on commit 6482257

Please sign in to comment.