---
url: >-
  https://haihv.github.io/valifetch/api/index/type-aliases/AfterParseResponseHook.md
---

# Type Alias: AfterParseResponseHook\<T>

> **AfterParseResponseHook**<`T`> = (`data`, `response`, `request`) => `T` | `Promise`<`T`>

Defined in: [src/types/hooks.ts:28](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/types/hooks.ts#L28)

Hook called after response is parsed
Can transform the parsed data

## Type Parameters

### T

`T` = `unknown`

## Parameters

### data

`T`

### response

`Response`

### request

`Request`

## Returns

`T` | `Promise`<`T`>
