We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa3cb3 commit 6d2efb7Copy full SHA for 6d2efb7
.changeset/cyan-points-rescue.md
@@ -0,0 +1,5 @@
1
+---
2
+'dataloader': patch
3
4
+
5
+`name` is an optional property
src/index.d.ts
@@ -123,7 +123,7 @@ declare namespace DataLoader {
123
*
124
* Is `null` if not set in the constructor.
125
*/
126
- name: string | null;
+ name?: string | null;
127
};
128
}
129
0 commit comments