Open updater toast changelog links externally (#4970)
* fix: Hook into markdown-generated anchors to avoid e.g breaking the desktop app * add comment * Disable eslint on copied line from ts-stack --------- Co-authored-by: marc2332 <mespinsanz@gmail.com>
This commit is contained in:
1
interface.d.ts
vendored
1
interface.d.ts
vendored
@ -93,5 +93,6 @@ export interface IElectronAPI {
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: IElectronAPI
|
||||
openExternalLink: (e: React.MouseEvent<HTMLAnchorElement>) => void
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user