Files

8 lines
286 B
Plaintext

// === Syntax and Semantic Diagnostics ===
/a.js(1,9): error TS8004: Type parameter declarations can only be used in TypeScript files.
==== /a.js (1 errors) ====
class C<T> { }
~
!!! error TS8004: Type parameter declarations can only be used in TypeScript files.