[question][typescript] ExecutionContext import #1459
Answered
by
EdamAme-x
angelhdzdev
asked this question in
Q&A
-
Where can I find ExecutionContext type? I'm overriding the: export default {
fetch: (request: Request, env?: {}, executionCtx?: ExecutionContext) => {
console.log('Server listening on port 5000...')
return app.fetch(request, env, executionCtx)
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
EdamAme-x
Sep 28, 2023
Replies: 1 comment 1 reply
-
It can be imported from import type { ExecutionContext } from 'https://deno.land/x/hono@v3.7.2/context.ts'; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
angelhdzdev
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
It can be imported from
https://deno.land/x/hono@v3.7.2/context.ts
.