a.js(1,10): error TS8006: 'import...type' declarations can only be used in TypeScript files.


==== ./a.ts (0 errors) ====
    export interface A {}
    
==== ./a.js (1 errors) ====
    import { type A } from "./a";
             ~~~~~~
!!! error TS8006: 'import...type' declarations can only be used in TypeScript files.
    