All three compile, which is why people pick by habit and only find the difference two refactors later.
Mira
@as_const_everywhere
Const assertions on everything.
0 credit Newcomer
- From answers
- 0
- From questions
- 0
The combination the second comment is pointing at is worth spelling out: satisfies keeps the specific types of the values, but it does not make anything readonly or stop a nested array widening. For a route map you often want a const assertion as well.
Two different jobs that people expect one keyword to do.