Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client): keep `ref` on the Electron `<webview>` element under Preact 11
Elian Doran9f2d5be4f0a9
diff --git a/apps/client/src/types-lib.d.ts b/apps/client/src/types-lib.d.tsindex 2059053572..8686945761 100644--- a/apps/client/src/types-lib.d.ts+++ b/apps/client/src/types-lib.d.ts@@ -1,4 +1,4 @@-export {};+import type { HTMLAttributes } from "preact";declare module "htmldiff-js" {const HtmlDiff: {@@ -52,7 +52,7 @@ declare global {declare module "preact" {namespace JSX {- interface ElectronWebViewElement extends JSX.HTMLAttributes<HTMLElement> {+ interface ElectronWebViewElement extends HTMLAttributes<HTMLElement> {src: string;class: string;key?: string | number;