Wrap async callbacks in void operators for DOM addEventListener calls to properly handle Promise<void> returns in void contexts. This follows TypeScript best practices and Obsidian plugin guidelines. Changes: - settings.ts: Fix 5 button click handlers (server controls, API key actions, config copy) - notification-history.ts: Fix export button click handler All async operations are properly awaited within void-wrapped IIFEs, ensuring errors are not silently swallowed while maintaining the expected void return type for event listeners.
6.0 KiB
6.0 KiB