1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Chore: Increase strength of Settings types (#10605)

This commit is contained in:
Henry Heino
2024-06-25 06:01:39 -07:00
committed by GitHub
parent c7116b135f
commit a44412ae78
21 changed files with 1747 additions and 1690 deletions

View File

@@ -12,6 +12,7 @@ import { getListRendererIds } from './services/noteList/renderers';
import { ProcessResultsRow } from './services/search/SearchEngine';
import { getDisplayParentId } from './services/trash';
import Logger from '@joplin/utils/Logger';
import { SettingsRecord } from './models/settings/types';
const fastDeepEqual = require('fast-deep-equal');
const { ALL_NOTES_FILTER_ID } = require('./reserved-ids');
const { createSelectorCreator, defaultMemoize } = require('reselect');
@@ -100,8 +101,7 @@ export interface State {
syncReport: any;
searchQuery: string;
searchResults: ProcessResultsRow[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
settings: Record<string, any>;
settings: Partial<SettingsRecord>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
sharedData: any;
appState: string;