Duolith docs

Errors E0300 to E0399

E0349 Type error

Message {TypeScript's message} (TSnumber)

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

TypeScript found a type error in the script block or the markup that has no more specific code here. It would fail or misbehave when the page ran. The message is TypeScript's own, and the editor shows the same one.

How to fix it

Fix the code as the message says. The TypeScript number after the message finds more about it.

In a terminal

duolith explain E0349

Mentioned in