I file A I have:
export enum MyFluffyEnum { Beauty, Courage, Love }
In file B I have:
import { MyFluffyEnum } from "./A";
export type { MyFluffyEnum };
In file C I have:
import { MyFluffyEnum } from "./B";
Compile-time error:
'MyFluffyEnum' cannot be used as a value because it was exported using 'export type'.
If I put a separate export { MyFluffyEnum };
in the file B (the intermediate file) I get the error "Module not found: Can't resolve 'B.tsx' in 'my-project/path/here'".
If I import the file with the enum as named export directly, then there is no error.
Links that may be relevant: