mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
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:
committed by
Torkel Ödegaard
parent
85b4b336fd
commit
8370a182f7
@@ -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];
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user