Is it idiomatic TypeScript: using as const? - Theo's Typesafe Cult