UNPKG

468 BTypeScriptView Raw
1import { WidgetModel, DOMWidgetView, WidgetView } from './widget';
2export declare function createErrorWidgetModel(error: unknown, msg?: string): typeof WidgetModel;
3export declare class ErrorWidgetView extends DOMWidgetView {
4 generateErrorMessage(): {
5 msg?: string;
6 stack: string;
7 };
8 render(): void;
9}
10export declare function createErrorWidgetView(error?: unknown, msg?: string): typeof WidgetView;
11//# sourceMappingURL=errorwidget.d.ts.map
\No newline at end of file