I have usages of imports in my project, such as this
import { type MyType, MY_CONSTANT } from './index';
and it compiles and works pretty well. But this usage is strange for me, and in some computers on local environment it throws syntax error.
I wanted to know if this usage is okay, and from which TS version it became actual?