๐ Bug HuntTS TypeScript Easy+10 XP
Missing Type Annotation
This function has a type error.
๐ Find the bug
1
function add(a, b) {2
return a + b;3
}๐ The bug is on line 1
This function has a type error.
function add(a, b) { return a + b;}