mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
This commit is contained in:
parent
8b69979fba
commit
a742bd49a6
2 changed files with 12 additions and 6 deletions
10
app/src/types/index.d.ts
vendored
10
app/src/types/index.d.ts
vendored
|
|
@ -138,6 +138,8 @@ interface Window {
|
|||
dispose(element: Element): void;
|
||||
getInstanceById(id: string): {
|
||||
resize: () => void
|
||||
clear: () => void
|
||||
getOption: () => { series: { type: string }[] }
|
||||
};
|
||||
}
|
||||
ABCJS: {
|
||||
|
|
@ -180,10 +182,10 @@ interface Window {
|
|||
siyuan: ISiyuan
|
||||
webkit: {
|
||||
messageHandlers: {
|
||||
openLink:{postMessage: (url: string) => void}
|
||||
startKernelFast:{postMessage: (url: string) => void}
|
||||
changeStatusBar:{postMessage: (url: string) => void}
|
||||
setClipboard:{postMessage: (url: string) => void}
|
||||
openLink: { postMessage: (url: string) => void }
|
||||
startKernelFast: { postMessage: (url: string) => void }
|
||||
changeStatusBar: { postMessage: (url: string) => void }
|
||||
setClipboard: { postMessage: (url: string) => void }
|
||||
}
|
||||
}
|
||||
html2canvas: (element: Element, opitons: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue