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
chore(app/share): port to TypeScript
Panagiotis Papadopoulos3ed952849500
diff --git a/src/public/app/share.js b/src/public/app/share.tssimilarity index 92%rename from src/public/app/share.jsrename to src/public/app/share.tsindex 3c3282497a..844d621a15 100644--- a/src/public/app/share.js+++ b/src/public/app/share.ts@@ -3,7 +3,7 @@** @param noteId of the given note to be fetched. If false, fetches current note.*/-async function fetchNote(noteId = null) {+async function fetchNote(noteId: string | null = null) {if (!noteId) {noteId = document.body.getAttribute("data-note-id");}