You've already forked joplin
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user