At least TypeScript cares enough to have added the `isolatedModules` and the `preserveValueImports` flags:
https://www.typescriptlang.org/tsconfig#isolatedModules
https://www.typescriptlang.org/tsconfig#preserveValueImports