After I've upgraded from v0.10.5 to v0.10.6, TypeScript no longer knows that the request & response properties exist in the entry hook.
import viteSSR from 'vite-ssr/vue'
export default viteSSR(
App,
{
routes,
// This works fine now
pageProps: {
passToPage: false,
},
},
// Property `request`/`response` does not exist on type ...
({ app, initialState, router, request, response }) => {
// ...
}
)
Hey!
After I've upgraded from
v0.10.5
tov0.10.6
, TypeScript no longer knows that therequest
&response
properties exist in the entry hook.