mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
improve(plugin): types
This commit is contained in:
@@ -10,7 +10,9 @@ import {
|
||||
BlockCommandCallback,
|
||||
StyleString,
|
||||
ThemeOptions,
|
||||
UIOptions, IHookEvent, BlockIdentity, BlockPageName
|
||||
UIOptions, IHookEvent, BlockIdentity,
|
||||
BlockPageName,
|
||||
UIFrameAttrs
|
||||
} from './LSPlugin'
|
||||
import Debug from 'debug'
|
||||
import * as CSS from 'csstype'
|
||||
@@ -299,7 +301,7 @@ export class LSPluginUser extends EventEmitter<LSPluginUserEvents> implements IL
|
||||
// TODO: update associated baseInfo settings
|
||||
}
|
||||
|
||||
setMainUIAttrs (attrs: Record<string, any>): void {
|
||||
setMainUIAttrs (attrs: Partial<UIFrameAttrs>): void {
|
||||
this.caller.call('main-ui:attrs', attrs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user