We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b740e4 commit 3135e9aCopy full SHA for 3135e9a
.changeset/great-swans-ring.md
@@ -0,0 +1,5 @@
1
+---
2
+"dataloader": patch
3
4
+
5
+Fix typo in jsdoc comment; flip "objects are keys" to "keys are objects"
src/index.d.ts
@@ -106,7 +106,7 @@ declare namespace DataLoader {
106
107
/**
108
* Default `key => key`. Produces cache key for a given load key. Useful
109
- * when objects are keys and two objects should be considered equivalent.
+ * when keys are objects and two objects should be considered equivalent.
110
*/
111
cacheKeyFn?: (key: K) => C,
112
0 commit comments