Update frontend dependencies (#498)

* update npm packages

* update tsconfig

* remove babelrc, babel presets as well as stable package

* fix svg namespace tag syntax errors

* fix reference error due to namespace and class component having same name

* replace tslint with eslint

* make eslint happier

* update .nvmrc to 14

* update node version to 14 in gh workflow

* fix eslint warnings due to warnings treated as errors on CI (process.env.CI = true)

* pretty fix

* bump node version in Dockerfile

* use createRoot instead of react-dom render

* update browsers list in package.json
This commit is contained in:
serge authored and GitHub committed 2022-09-16 11:07:51 +01:00
1 parent d525056190
commit 41c93a8a19
72 files changed
+8089 -8612

No files matched your search

+4 -2
View File
@@ -43,7 +43,8 @@ export class Persistent<Data> {
window.addEventListener('storage', (event) => {
if (event.key === this.key) {
this.value = parse((event.newValue as any) as Stringified<Data>);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
this.value = parse(event.newValue as any as Stringified<Data>);
this.onChange(this.value);
}
@@ -58,7 +59,8 @@ export class Persistent<Data> {
this.value = value;
window.localStorage.setItem(
this.key,
(stringify(this.value) as any) as string
// eslint-disable-next-line @typescript-eslint/no-explicit-any
stringify(this.value) as any as string
);
this.onChange(this.value);
}