Skip to main content
๐Ÿ› Bug HuntTS TypeScript Easy+10 XP

Missing Type Annotation

This function has a type error.

๐Ÿ› Find the bug
1function add(a, b) {
2 return a + b;
3}
๐Ÿ› The bug is on line 1

๐Ÿ”ง Select the correct fix:

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep