You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Tools: Apply rule @typescript-eslint/type-annotation-spacing
This commit is contained in:
@@ -13,8 +13,8 @@ interface NoteToolbarProps {
|
||||
toolbarButtonInfos: ToolbarButtonInfo[],
|
||||
}
|
||||
|
||||
function styles_(props:NoteToolbarProps) {
|
||||
return buildStyle('NoteToolbar', props.themeId, (theme:any) => {
|
||||
function styles_(props: NoteToolbarProps) {
|
||||
return buildStyle('NoteToolbar', props.themeId, (theme: any) => {
|
||||
return {
|
||||
root: {
|
||||
...props.style,
|
||||
@@ -25,14 +25,14 @@ function styles_(props:NoteToolbarProps) {
|
||||
});
|
||||
}
|
||||
|
||||
function NoteToolbar(props:NoteToolbarProps) {
|
||||
function NoteToolbar(props: NoteToolbarProps) {
|
||||
const styles = styles_(props);
|
||||
return <ToolbarBase style={styles.root} items={props.toolbarButtonInfos} />;
|
||||
}
|
||||
|
||||
const toolbarButtonUtils = new ToolbarButtonUtils(CommandService.instance());
|
||||
|
||||
const mapStateToProps = (state:any) => {
|
||||
const mapStateToProps = (state: any) => {
|
||||
const whenClauseContext = stateToWhenClauseContext(state);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user