`as const` keeps the literal types, so the derived union is the actual keys rather than string.
Tag
Snippets tagged const-assertion
Snippets tagged const-assertion
`as const` keeps the literal types, so the derived union is the actual keys rather than string.