Creating an Opaque Type for baseException in TypeScript

hi, how can i make that baseException as an opaque type?
image.png
Was this page helpful?