How do I change the “any” to something like String or Number?
delete any and type string or number
function name(test: number)
end
basically, add a colon after the argument then the value type afterward. though there isn’t much reason to do it except for clarification.
1 Like