Question: The following is a JavaScript function header: function saveDetails(name, ID, member) { return true; . } If the name is a string, the ID an
- The following is a JavaScript function header:
function saveDetails(name, ID, member) {
return true; .
}
If the name is a string, the ID an integer, member is a Boolean value and there is no returned value. How would this be declared in Typescript to fully specify the types in the function header
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
