19 lines
461 B
TypeScript
19 lines
461 B
TypeScript
import { IncomingMessage } from "http";
|
|
type Param = {
|
|
user?: {
|
|
id?: number | string;
|
|
first_name?: string;
|
|
last_name?: string;
|
|
email?: string;
|
|
} & any;
|
|
message: string;
|
|
component?: string;
|
|
noMail?: boolean;
|
|
req?: import("next").NextApiRequest & IncomingMessage;
|
|
};
|
|
/**
|
|
* # Server Error
|
|
*/
|
|
export default function serverError({ user, message, component, noMail, req, }: Param): Promise<void>;
|
|
export {};
|