We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
void
uneval
1 parent 8fb152e commit ca3c7b6Copy full SHA for ca3c7b6
.changeset/some-buttons-scream.md
@@ -0,0 +1,5 @@
1
+---
2
+"devalue": patch
3
4
+
5
+chore: Remove impossible `void` type from replacer's `uneval`
src/uneval.js
@@ -17,7 +17,7 @@ const reserved =
17
/**
18
* Turn a value into the JavaScript that creates an equivalent value
19
* @param {any} value
20
- * @param {(value: any, uneval: (value: any) => string | void) => string | void} [replacer]
+ * @param {(value: any, uneval: (value: any) => string) => string | void} [replacer]
21
*/
22
export function uneval(value, replacer) {
23
const counts = new Map();
0 commit comments