Files
vercel_dashboard_example/.pnpm-store/v11/files/c7/d95f38f4ba5bec7984232281b3f799857fbcb8ccc0e162d9ffd9c8ff82229ca32f10f285b7dc70753117cd8c0669b5608f9855b778df2b2963b77c57ce8f6b
T
2026-05-12 14:53:15 +00:00

20 lines
660 B
Plaintext

import React from 'react';
import type { NextPageContext } from '../shared/lib/utils';
export type ErrorProps = {
statusCode: number;
hostname?: string;
title?: string;
withDarkMode?: boolean;
};
declare function _getInitialProps({ req, res, err, }: NextPageContext): Promise<ErrorProps> | ErrorProps;
/**
* `Error` component used for handling errors.
*/
export default class Error<P = {}> extends React.Component<P & ErrorProps> {
static displayName: string;
static getInitialProps: typeof _getInitialProps;
static origGetInitialProps: typeof _getInitialProps;
render(): import("react/jsx-runtime").JSX.Element;
}
export {};