# `assertDefined` utility
Incorrect type inference in `useAsyncData` with `transform` and `getCachedData`
good first issuetypes
`useFetch` and `useAsyncData` type inference incorrect for generic parameter
typespending triage
[types] $fetch.onResponse(ctx)
discussiontypesworkaround availabledx
type of `default` option in `useFetch` is not correct
types3.x🔨 p3-minor
useAsyncData's return type for data and error still is `| null` in v4
types3.xbug🔨 p3-minor
typescript error on Ref type
3.xpending triageupstreamneeds reproduction