Files

8 lines
250 B
Plaintext

// === Syntax and Semantic Diagnostics ===
/a.js(1,6): error TS8008: Type aliases can only be used in TypeScript files.
==== /a.js (1 errors) ====
type a = b;
~
!!! error TS8008: Type aliases can only be used in TypeScript files.