Commit 7edcf94
committed
fix(types): add missing git methods and fix type mismatches in global.d.ts
- Add missing window.koda declarations: gitStatus, gitStage, gitUnstage,
gitStageAll, gitCommit, gitPush, gitPull, gitLog, openExternal
(methods existed in preload but were absent from Window interface)
- Fix koClawStatus return type: was `{ ready, username }` but
webhook-server.ts actually returns `{ running, port }`
- Fix BrowserPreview.tsx: change allowpopups="true" (string) to
allowpopups={true} (boolean) to match webview JSX type definition1 parent 787671f commit 7edcf94
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
| |||
0 commit comments