mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
noImplicitAny: Fix basic errors (#17668)
* Fix basic noImplicitAny errors * noImplicitAny HeatmapCtrl * Update error limit
This commit is contained in:
committed by
Torkel Ödegaard
parent
433e5ac049
commit
c9ad411d8e
@@ -22,12 +22,12 @@ const global = window as any;
|
||||
global.$ = global.jQuery = $;
|
||||
|
||||
const localStorageMock = (() => {
|
||||
let store = {};
|
||||
let store: any = {};
|
||||
return {
|
||||
getItem: (key: string) => {
|
||||
return store[key];
|
||||
},
|
||||
setItem: (key: string, value) => {
|
||||
setItem: (key: string, value: any) => {
|
||||
store[key] = value.toString();
|
||||
},
|
||||
clear: () => {
|
||||
|
||||
Reference in New Issue
Block a user