chore: update tslint rules (#7391)

This commit is contained in:
Manol Donev
2019-06-26 15:13:48 +03:00
committed by GitHub
parent 92370279d8
commit 4f39fb728b
399 changed files with 3101 additions and 2210 deletions

View File

@@ -1,4 +1,4 @@
import * as common from "./image-cache-common";
import * as common from "./image-cache-common";
import * as trace from "../../trace";
let LruBitmapCacheClass;
@@ -10,6 +10,7 @@ function ensureLruBitmapCacheClass() {
class LruBitmapCache extends android.util.LruCache<string, android.graphics.Bitmap> {
constructor(cacheSize: number) {
super(cacheSize);
return global.__native(this);
}
@@ -20,7 +21,7 @@ function ensureLruBitmapCacheClass() {
return result;
}
};
}
LruBitmapCacheClass = LruBitmapCache;
}
@@ -64,6 +65,7 @@ export class Cache extends common.Cache {
public get(key: string): any {
const result = this._cache.get(key);
return result;
}