- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
6 lines
385 B
TypeScript
6 lines
385 B
TypeScript
import { BeforeLeaveLifecycle, LocationChange } from "./types.js";
|
|
export declare function createBeforeLeave(): BeforeLeaveLifecycle;
|
|
export declare function saveCurrentDepth(): void;
|
|
export declare function keepDepth(state: any): any;
|
|
export declare function notifyIfNotBlocked(notify: (value?: string | LocationChange) => void, block: (delta: number | null) => boolean): () => void;
|