ref(eslint) Use new TypeScript ESlint config (#12143)

Use new TS config from @jitsi/eslint
Fix all lint errors
This commit is contained in:
Robert Pintilii
2022-09-08 12:52:36 +03:00
committed by GitHub
parent e296008d95
commit 10bb186c13
198 changed files with 1199 additions and 1215 deletions

View File

@@ -19,7 +19,7 @@ declare type ElementConfig = boolean | Object;
/**
* The type of the name-config pairs stored in {@code PersistenceRegistry}.
*/
declare type PersistencyConfigMap = { [name: string]: ElementConfig };
declare type PersistencyConfigMap = { [name: string]: ElementConfig; };
/**
* A registry to allow features to register their redux store subtree to be
@@ -27,7 +27,7 @@ declare type PersistencyConfigMap = { [name: string]: ElementConfig };
*/
class PersistenceRegistry {
_checksum = '';
_defaultStates: { [name: string ]: Object|undefined } = {};
_defaultStates: { [name: string ]: Object | undefined; } = {};
_elements: PersistencyConfigMap = {};
/**