the tswhy logo: a question mark in a box

tswhy‽

A community effort to enrich TypeScript diagnostics.

TS1010

'*/' expected.

Occurs when a block comment is not properly terminated before the end of the file is reached:

/**
 * Comment text
 *
function test() {}

Fix: Terminate block comment

Properly terminate the block comment:

/**
 * Comment text
 */
function test() {}