-
Notifications
You must be signed in to change notification settings - Fork 1
TYP003
ricardoboss edited this page Sep 13, 2023
·
1 revision
The argument type is not valid for the function.
Example:
function add = (number a, number b) {
return a + b
}
add(1, "2")
Check the argument types and ensure they are valid for the function.
function add = (number a, number b) {
return a + b
}
- add(1, "2")
+ add(1, 2)
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!