mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
This commit is contained in:
parent
11d4157b52
commit
fe3ff881b9
3 changed files with 25 additions and 3 deletions
9
app/src/types/index.d.ts
vendored
9
app/src/types/index.d.ts
vendored
|
|
@ -178,7 +178,14 @@ interface Window {
|
|||
dataLayer: any[]
|
||||
|
||||
siyuan: ISiyuan
|
||||
webkit: any
|
||||
webkit: {
|
||||
messageHandlers: {
|
||||
openLink:{postMessage: (url: string) => void}
|
||||
startKernelFast:{postMessage: (url: string) => void}
|
||||
changeStatusBar:{postMessage: (url: string) => void}
|
||||
setClipboard:{postMessage: (url: string) => void}
|
||||
}
|
||||
}
|
||||
html2canvas: (element: Element, opitons: {
|
||||
useCORS: boolean,
|
||||
scale?: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue