TypeScript Error with Custom Logger Style Annotation in Effect Code

I'm trying to pass a style annotation to my custom logger to output a message with different formatting to the console, but TypeScript is not happy with how I've done it. It runs (when adding // @ts-ignore above the error) fine, but I don't think I'm taking the correct approach. Anyone want to provide some insight into how I should be writing my Effect code? https://effect.website/play#14a745c91cb3
Was this page helpful?