fix(client): add $serialized for response object

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2023-06-10 16:33:12 +08:00
parent 944c571210
commit 3a9e25763e
7 changed files with 62 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
import { RequestOptions } from './instance'
import type { RequestOptions } from './instance'
type NoStringIndex<T> = { [K in keyof T as string extends K ? never : K]: T[K] }
@@ -70,6 +70,8 @@ type ResponseWrapperType<Response, RawData, T> = {
method: string
[k: string]: string
}
$serialized: T
}
export type ResponseProxyExtraRaw<