We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7b719 commit ce53580Copy full SHA for ce53580
1 file changed
templates/utils.js
@@ -99,7 +99,7 @@ export const withDefaults =
99
100
let receivedType = getType(receivedArgs[receivedArgName][0]);
101
if (receivedType === "function") {
102
- receivedType = getType(receivedArgs[receivedArgName][0]({receivedGlobalArgs}));
+ receivedType = getType(receivedArgs[receivedArgName][0]({...receivedGlobalArgs}));
103
}
104
const expectedType = getType(argsWithDefaultsAndGlobals[receivedArgName][0]);
105
0 commit comments