Skip to content

Commit 99af086

Browse files
committed
Undo adding of default function to keep existing default behavior or throwing a runtime error
1 parent 97f89e9 commit 99af086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
let defaultGetErrorMessage = () => null;
1+
let defaultGetErrorMessage = undefined;
22

33
function checkGetErrorMessage(getErrorMessage) {
44
if (typeof getErrorMessage !== 'function') {

0 commit comments

Comments
 (0)