Code QuizIntermediate

Function Type Alias Syntax

Spot the incorrect syntax in a function type alias declaration.

Codetypescript
type Add = (a: number, b: number): number;

const add: Add = (a, b) => a + b;

What is the bug in this function type alias?