You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Tools: Apply rule @typescript-eslint/type-annotation-spacing
This commit is contained in:
@@ -13,7 +13,7 @@ interface ToolbarProps {
|
||||
toolbarButtonInfos: ToolbarButtonInfo[],
|
||||
}
|
||||
|
||||
function styles_(props:ToolbarProps) {
|
||||
function styles_(props: ToolbarProps) {
|
||||
return buildStyle('CodeMirrorToolbar', props.themeId, () => {
|
||||
return {
|
||||
root: {
|
||||
@@ -26,7 +26,7 @@ function styles_(props:ToolbarProps) {
|
||||
|
||||
const toolbarButtonUtils = new ToolbarButtonUtils(CommandService.instance());
|
||||
|
||||
function Toolbar(props:ToolbarProps) {
|
||||
function Toolbar(props: ToolbarProps) {
|
||||
const styles = styles_(props);
|
||||
return <ToolbarBase style={styles.root} items={props.toolbarButtonInfos} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user