Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing clear method to Cache type definition
The Cache has been exposed since [1], which supposedly includes a .clear() method [2], which in turn is not actually present in the type definition [3]. This adds it to the type definition to align with the implementation. Since Map also contains a .clear() method [4], this shouldn't break the ability to pass that in as a map. [1] #231 [2] #161 (comment) [3] #161 (comment) [4] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/clear
- Loading branch information