1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Chore: Mobile: Refactor note-screen-shared utility lib

This commit is contained in:
Laurent Cozic
2023-02-18 15:31:59 +00:00
parent 1139317788
commit 5c1eda3392
5 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ interface Shared {
isModified?: (comp: any)=> boolean;
initState?: (comp: any)=> void;
toggleIsTodo_onPress?: (comp: any)=> void;
toggleCheckboxRange?: (ipcMessage: string, noteBody: string)=> void;
toggleCheckboxRange?: (ipcMessage: string, noteBody: string)=> any;
toggleCheckbox?: (ipcMessage: string, noteBody: string)=> void;
installResourceHandling?: (refreshResourceHandler: any)=> void;
uninstallResourceHandling?: (refreshResourceHandler: any)=> void;
@@ -329,4 +329,4 @@ shared.uninstallResourceHandling = function(refreshResourceHandler: any) {
DecryptionWorker.instance().off('resourceDecrypted', refreshResourceHandler);
};
module.exports = shared;
export default shared;