Skip to content

Commit ce53580

Browse files
committed
fix: params typo
1 parent 8f7b719 commit ce53580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const withDefaults =
9999

100100
let receivedType = getType(receivedArgs[receivedArgName][0]);
101101
if (receivedType === "function") {
102-
receivedType = getType(receivedArgs[receivedArgName][0]({receivedGlobalArgs}));
102+
receivedType = getType(receivedArgs[receivedArgName][0]({...receivedGlobalArgs}));
103103
}
104104
const expectedType = getType(argsWithDefaultsAndGlobals[receivedArgName][0]);
105105

0 commit comments

Comments
 (0)