feat: init
This commit is contained in:
12
node_modules/nitropack/dist/runtime/internal/context.d.ts
generated
vendored
Normal file
12
node_modules/nitropack/dist/runtime/internal/context.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user