feat: init
This commit is contained in:
17
node_modules/nitropack/dist/runtime/utils.d.ts
generated
vendored
Normal file
17
node_modules/nitropack/dist/runtime/utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { H3Event } from "h3";
|
||||
/**
|
||||
* @deprecated This util is only provided for backward compatibility and will be removed in v3.
|
||||
*/
|
||||
export declare function isJsonRequest(event: H3Event): boolean;
|
||||
/**
|
||||
* @deprecated This util is only provided for backward compatibility and will be removed in v3.
|
||||
*/
|
||||
export declare function normalizeError(error: any, isDev?: boolean): {
|
||||
stack: {
|
||||
text: string;
|
||||
internal: boolean;
|
||||
}[];
|
||||
statusCode: any;
|
||||
statusMessage: any;
|
||||
message: any;
|
||||
};
|
||||
Reference in New Issue
Block a user