Using `as const` with `Match.withReturnType` in TypeScript

Why do I need to add as const to this use of
Match
with Match.withReturnType? https://effect.website/play/#5bed4576bacd
Was this page helpful?