Skip to content

Commit 08b1526

Browse files
committed
Clear deprecated stuff
1 parent 4f9e51d commit 08b1526

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Diff for: libs/Cache.ts

-11
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,6 @@ export class Cache<T> {
133133
}
134134

135135

136-
/**
137-
* @deprecated Use `remove` instead.
138-
*
139-
* Delete value from cache.
140-
* @param key
141-
*/
142-
delete(key: string): void {
143-
this.remove(key);
144-
}
145-
146-
147136
#isValid(state: StateType, dependencies: DependenciesType) {
148137
if (dependencies.expire) {
149138
const expired = Date.now() > state.timestamp + dependencies.expire;

0 commit comments

Comments
 (0)