You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Tools: Apply rule @typescript-eslint/member-delimiter-style
This commit is contained in:
@@ -13,18 +13,18 @@ const BackButtonDialogBox = require('../BackButtonDialogBox').default;
|
||||
const { reg } = require('@joplin/lib/registry.js');
|
||||
|
||||
interface Props {
|
||||
themeId: number,
|
||||
style: any,
|
||||
noteBody: string,
|
||||
noteMarkupLanguage: number,
|
||||
highlightedKeywords: string[],
|
||||
noteResources: any,
|
||||
paddingBottom: number,
|
||||
noteHash: string,
|
||||
onJoplinLinkClick: Function,
|
||||
onCheckboxChange?: Function,
|
||||
onMarkForDownload?: Function,
|
||||
onLoadEnd?: Function,
|
||||
themeId: number;
|
||||
style: any;
|
||||
noteBody: string;
|
||||
noteMarkupLanguage: number;
|
||||
highlightedKeywords: string[];
|
||||
noteResources: any;
|
||||
paddingBottom: number;
|
||||
noteHash: string;
|
||||
onJoplinLinkClick: Function;
|
||||
onCheckboxChange?: Function;
|
||||
onMarkForDownload?: Function;
|
||||
onLoadEnd?: Function;
|
||||
}
|
||||
|
||||
export default function NoteBodyViewer(props: Props) {
|
||||
|
||||
@@ -6,13 +6,13 @@ const markupLanguageUtils = require('@joplin/lib/markupLanguageUtils').default;
|
||||
const { assetsToHeaders } = require('@joplin/renderer');
|
||||
|
||||
interface Source {
|
||||
uri: string,
|
||||
baseUrl: string,
|
||||
uri: string;
|
||||
baseUrl: string;
|
||||
}
|
||||
|
||||
interface UseSourceResult {
|
||||
source: Source,
|
||||
injectedJs: string[],
|
||||
source: Source;
|
||||
injectedJs: string[];
|
||||
}
|
||||
|
||||
let markupToHtml_: any = null;
|
||||
|
||||
@@ -8,8 +8,8 @@ const Note = require('@joplin/lib/models/Note.js');
|
||||
const { reg } = require('@joplin/lib/registry.js');
|
||||
|
||||
type TData = {
|
||||
type: string
|
||||
}
|
||||
type: string;
|
||||
};
|
||||
|
||||
export default (dispatch: Function, folderId: string) => {
|
||||
const userInfo = { url: '' };
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
const { NativeModules, Platform } = require('react-native');
|
||||
|
||||
export interface SharedData {
|
||||
title?: string,
|
||||
text?: string,
|
||||
resources?: string[]
|
||||
title?: string;
|
||||
text?: string;
|
||||
resources?: string[];
|
||||
}
|
||||
|
||||
const ShareExtension = (Platform.OS === 'android' && NativeModules.ShareExtension) ?
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
const { Platform, PermissionsAndroid } = require('react-native');
|
||||
|
||||
type rationale = {
|
||||
title: string,
|
||||
message: string,
|
||||
buttonPositive?: string,
|
||||
buttonNegative?: string
|
||||
buttonNeutral?: string
|
||||
}
|
||||
title: string;
|
||||
message: string;
|
||||
buttonPositive?: string;
|
||||
buttonNegative?: string;
|
||||
buttonNeutral?: string;
|
||||
};
|
||||
|
||||
export default async (permissions: string, rationale?: rationale) => {
|
||||
if (Platform.OS !== 'android') return true;
|
||||
|
||||
Reference in New Issue
Block a user