TS: TypeScript type error
Codes: TS followed by the TypeScript compiler’s number, such as TS2322. The docsUrl of each one points here, with the code as the fragment.
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | type check |
What it means
Section titled “What it means”The type check found an error. The code is TS and the compiler’s number (TS2322 is a value of the wrong type, TS2307 a module it cannot find, TS2339 a property that does not exist), and the message is the compiler’s.
How to fix
Section titled “How to fix”Fix the type at the position given; the message says which types disagree.