Skip to content

Commit

Permalink
fix: attempt lru-cache declaration type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-alford committed Sep 9, 2024
1 parent 396e7c9 commit 7c01da1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"prettier": "~3.1.0",
"prettier": "~3.1.1",
"prettier-plugin-jsdoc": "^1.1.1",
"tsc-files": "^1.1.4",
"tsup": "^8.0.0",
Expand Down Expand Up @@ -88,5 +88,10 @@
"eslint --fix-type layout --fix --cache",
"pnpm run prerelease"
]
},
"pnpm": {
"patchedDependencies": {
"lru-cache@10.4.3": "patches/lru-cache@10.4.3.patch"
}
}
}
13 changes: 13 additions & 0 deletions patches/lru-cache@10.4.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/commonjs/index.d.ts b/dist/commonjs/index.d.ts
index f59de7602a528afde714e56dcf8c25ee496e39fb..804042b5ff381b8594307296de29d31d1b564c92 100644
--- a/dist/commonjs/index.d.ts
+++ b/dist/commonjs/index.d.ts
@@ -837,7 +837,7 @@ export declare namespace LRUCache {
*
* Changing any of these will alter the defaults for subsequent method calls.
*/
-export declare class LRUCache<K extends {}, V extends {}, FC = unknown> implements Map<K, V> {
+export declare class LRUCache<K extends {}, V extends {}, FC = unknown> {
#private;
/**
* {@link LRUCache.OptionsBase.ttl}
11 changes: 8 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c01da1

Please sign in to comment.