gebeya-dala-error-fixer
Version:
Automatic runtime error detection and fix suggestions for Next.js applications with config-based setup
30 lines (29 loc) • 807 B
TypeScript
export declare class AutoInitializer {
private static instance;
private config;
private errorDetector;
private modalContainer;
private floatingButton;
private errorCount;
private currentError;
private currentSuggestion;
private isModalOpen;
private constructor();
static getInstance(): AutoInitializer;
private init;
private shouldEnable;
private setupErrorDetection;
private handleError;
private createFloatingButton;
private getButtonPosition;
private updateFloatingButton;
private createModalContainer;
private showModal;
private hideModal;
private renderModal;
private renderModalContent;
private addModalEventListeners;
private handleFixIt;
private setupGlobalErrorBoundary;
destroy(): void;
}