let hasAnError: string = 10; function increment(num: number) { return num + 1; } increment('not a number');
Submit