From 955566f6bf3a38170e86abe4016f5747db51ba65 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Fri, 21 Feb 2020 16:07:34 +0530 Subject: [PATCH] update typescript to 3.8.2 --- lib/reducers/sessions.ts | 2 +- lib/reducers/ui.ts | 4 ++-- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/reducers/sessions.ts b/lib/reducers/sessions.ts index 060a6fdf..441a0cff 100644 --- a/lib/reducers/sessions.ts +++ b/lib/reducers/sessions.ts @@ -16,7 +16,7 @@ import { import {sessionState, session, HyperActions} from '../hyper'; const initialState: ImmutableType = Immutable({ - sessions: {}, + sessions: {} as Record, activeUid: null }); diff --git a/lib/reducers/ui.ts b/lib/reducers/ui.ts index cc0163fd..5fdd0632 100644 --- a/lib/reducers/ui.ts +++ b/lib/reducers/ui.ts @@ -57,7 +57,7 @@ const initial: ImmutableType = Immutable({ letterSpacing: 0, css: '', termCSS: '', - openAt: {}, + openAt: {} as Record, resizeAt: 0, colors: { black: '#000000', @@ -77,7 +77,7 @@ const initial: ImmutableType = Immutable({ lightCyan: '#68FDFE', lightWhite: '#FFFFFF' }, - activityMarkers: {}, + activityMarkers: {} as Record, notifications: { font: false, resize: false, diff --git a/package.json b/package.json index 78b692af..f58e86dd 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "terser": "4.6.3", "terser-webpack-plugin": "2.3.5", "ts-node": "8.6.2", - "typescript": "3.7.5", + "typescript": "3.8.2", "webpack": "4.41.6" } } diff --git a/yarn.lock b/yarn.lock index 997fcd0b..b9b414d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8305,10 +8305,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.7.5: - version "3.7.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" - integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== +typescript@3.8.2: + version "3.8.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" + integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== union-value@^1.0.0: version "1.0.1"