Add more typecast for typescript

This commit is contained in:
Frederic Junod
2019-09-27 13:09:12 +02:00
parent 701dc3b54a
commit 0e402073da
5 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class LRUCache extends EventTarget {
/**
* @param {function(T, string, LRUCache): ?} f The function
* @param {function(T, string, LRUCache<T>): ?} f The function
* to call for every entry from the oldest to the newer. This function takes
* 3 arguments (the entry value, the entry key and the LRUCache object).
* The return value is ignored.