Explore Library
Code QuizIntermediate

JSDoc @type Annotation

Find the error in a JSDoc @type annotation used in a JS file.

Codejavascript
// @ts-check

/** @type number */
let count = 0;

count = 5;

What is the bug in this JSDoc @type annotation?