mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
type: fix type
This commit is contained in:
@@ -5,12 +5,12 @@ import {
|
||||
IEditorProxy,
|
||||
ILSPluginUser,
|
||||
LSPluginBaseInfo, LSPluginUserEvents, SlashCommandAction,
|
||||
StyleOptions,
|
||||
StyleString,
|
||||
ThemeOptions,
|
||||
UIOptions
|
||||
} from './LSPlugin'
|
||||
import Debug from 'debug'
|
||||
import * as CSS from 'csstype'
|
||||
import { snakeCase } from 'snake-case'
|
||||
import EventEmitter from 'eventemitter3'
|
||||
|
||||
@@ -186,7 +186,7 @@ export class LSPluginUser extends EventEmitter<LSPluginUserEvents> implements IL
|
||||
this.caller.call('main-ui:attrs', attrs)
|
||||
}
|
||||
|
||||
setMainUIInlineStyle (style: StyleOptions): void {
|
||||
setMainUIInlineStyle (style: CSS.Properties): void {
|
||||
this.caller.call('main-ui:style', style)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user