Explore Library
Code QuizBeginner

Function Type Expression Syntax

Spot the wrong separator used for the return type in a function type expression.

Codetypescript
let add: (a: number, b: number): number;

add = (a, b) => a + b;

What is the bug in this function type expression?