summaryrefslogtreecommitdiff
path: root/src/preload/index.d.ts
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-11 18:16:45 -0500
committerhaoyuren <13851610112@163.com>2026-03-11 18:16:45 -0500
commitebec1a1073f9cc5b69e125d5b284669545ea3d9f (patch)
tree731ae664b9966b6fbd269c55be2ba5c01ee3341f /src/preload/index.d.ts
Initial commit: ClaudeTeX - LaTeX editor with Overleaf sync
Features: - Electron + React + TypeScript app with Cosmic Latte theme - CodeMirror 6 editor with LaTeX syntax highlighting - PDF preview with pdf.js, zoom controls, SyncTeX double-click jump - File tree with context menu (new/rename/delete/reveal) - Overleaf Git clone with token auth + macOS Keychain storage - Git pull/push sync for Overleaf projects - Embedded terminal (xterm.js + node-pty) with Claude CLI integration - LaTeX compilation via latexmk with auto package install detection - Structured compile log (errors/warnings) with click-to-navigate - Main document setting (auto-detect or right-click to set) - Custom modal system (input/confirm/alert) - Resizable panel layout (file tree | editor | PDF + terminal) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/preload/index.d.ts')
-rw-r--r--src/preload/index.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/preload/index.d.ts b/src/preload/index.d.ts
new file mode 100644
index 0000000..ccfa000
--- /dev/null
+++ b/src/preload/index.d.ts
@@ -0,0 +1,7 @@
+import type { ElectronAPI } from './index'
+
+declare global {
+ interface Window {
+ api: ElectronAPI
+ }
+}