mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
improve(plugin): types
This commit is contained in:
@@ -184,7 +184,7 @@ export interface IAppProxy {
|
||||
setZoomFactor: (factor: number) => void
|
||||
|
||||
registerUIItem: (
|
||||
type: 'toolbar' | 'page',
|
||||
type: 'toolbar' | 'pagebar',
|
||||
opts: { key: string, template: string }
|
||||
) => boolean
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ const debug = Debug('LSPlugin:user')
|
||||
|
||||
const app: Partial<IAppProxy> = {
|
||||
registerUIItem (
|
||||
type: 'toolbar' | 'page',
|
||||
type: 'toolbar' | 'pagebar',
|
||||
opts: { key: string, template: string }
|
||||
) {
|
||||
const pid = this.baseInfo.id
|
||||
|
||||
Reference in New Issue
Block a user