function expects 2 arguments, but 1 supplied #1691
Please-just-dont
started this conversation in
Static Hermes
Replies: 1 comment
-
|
There is a warning earlier: which indicates that default parameters of typed functions are not supported at the moment. The message could be better, but this is placeholder text, since this warning is temporary. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a function that looks like this:
function decorateFunctionName(name: string, isStarting: boolean = true)And calling it with one argument gives:
Beta Was this translation helpful? Give feedback.
All reactions