elearning/Frontend-Learner/node_modules/nitropack/dist/runtime/internal/context.d.ts
2026-01-13 10:48:02 +07:00

12 lines
367 B
TypeScript

import { type H3Event } from "h3";
export declare const nitroAsyncContext: import("unctx/index").UseContext<NitroAsyncContext>;
/**
*
* Access to the current Nitro request event.
*
* @experimental
* - Requires `experimental.asyncContext: true` config to work.
* - Works in Node.js and limited runtimes only
*
*/
export declare function useEvent(): H3Event;