mirror of
https://github.com/simoneb/axios-hooks.git
synced 2025-12-08 21:25:56 +00:00
fix: typing of serializeCache function
This commit is contained in:
parent
343810f3a7
commit
3040b80696
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -38,7 +38,7 @@ export default function useAxios<T = any>(
|
||||
]
|
||||
|
||||
export function loadCache(data: any[]): void
|
||||
export function serializeCache(): any[]
|
||||
export function serializeCache(): Promise<any[]>
|
||||
|
||||
export function configure(options: ConfigureOptions): void
|
||||
export function resetConfigure(): void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user