Creating an Opaque Type for baseException in TypeScript - Effect Community