This commit is contained in:
Vanessa 2023-03-29 09:12:04 +08:00
parent 42dc3712c1
commit ddfaf6bdba
5 changed files with 27 additions and 4 deletions

View file

@ -31,8 +31,6 @@ type TBazaarType = "templates" | "icons" | "widgets" | "themes"
declare module "blueimp-md5"
interface Window {
__localStorage__removeItem: (key: string) => void
__localStorage__setItem: (key: string, value: string) => void
dataLayer: any[]
siyuan: ISiyuan
webkit: any
@ -47,6 +45,12 @@ interface Window {
getBlockURL(): string
}
newWindow: {
positionPDF(pathStr: string, page: string | number): void
}
Protyle: import("../protyle/method").default
goBack(): void
showKeyboardToolbar(height: number): void
@ -609,7 +613,7 @@ declare interface IBlockTree {
}
declare interface IBlock {
riffCardReps? :number // 闪卡复习次数
riffCardReps?: number // 闪卡复习次数
depth?: number,
box?: string;
path?: string;