Avoiding Name Conflicts in TypeScript Re-Exports

I want to re-export all of Effect from one file so that I can start adding some methods to certain modules. E.g:
export * from "effect";
export * as Layer from "./Layer"

I don't get any type errors but this doesn't work probably because it will clash with the Layer in "effect". How should I structure my files to get this working?
Was this page helpful?