Tech: Bump typescript and jest (#16354)

* chore: Bump Typescript to 3.4.1

* chore: Bump babel-jest, jest, ts-jest

* fix: Fix tests after typescript upgrade by disabling some typings

* chore: noImplicitAny

* chore: Bump typescript in @grafana/ui
This commit is contained in:
Johannes Schill
2019-04-03 11:41:08 +02:00
committed by Torkel Ödegaard
parent 85b4b336fd
commit 8370a182f7
7 changed files with 336 additions and 312 deletions
+3 -3
View File
@@ -24,16 +24,16 @@ global.$ = global.jQuery = $;
const localStorageMock = (() => {
let store = {};
return {
getItem: key => {
getItem: (key: string) => {
return store[key];
},
setItem: (key, value) => {
setItem: (key: string, value) => {
store[key] = value.toString();
},
clear: () => {
store = {};
},
removeItem: key => {
removeItem: (key: string) => {
delete store[key];
},
};