- 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
153 B
TypeScript
6 lines
153 B
TypeScript
/**
|
|
* Throws if value is null or undefined, otherwise returns value.
|
|
*/
|
|
|
|
export default function nullthrows<T>(value?: T | null, message?: string): T;
|