Skip to content

Commit

Permalink
fix: import error
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 21, 2024
1 parent 49a0ed4 commit aa068bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/zhi-siyuan-picgo/src/lib/siyuanPicgoPostApi.ts
Expand Up @@ -10,7 +10,7 @@
import { ILogger, simpleLogger } from "zhi-lib-base"
import { SiyuanPicGoUploadApi } from "./siyuanPicGoUploadApi"
import { hasNodeEnv, IImgInfo, win } from "universal-picgo"
import { IPicGo } from "universal-picgo/src"
import { IPicGo } from "universal-picgo"

/**
* Picgo与文章交互的通用方法
Expand All @@ -32,6 +32,9 @@ class SiyuanPicgoPostApi {
this.updateConfig()
}

/**
* 内置 PicGo 上下文
*/
public ctx(): IPicGo {
return this.picgoApi.picgo
}
Expand Down

0 comments on commit aa068bb

Please sign in to comment.