Const Assertion
#TypeScript
オブジェクト or 配列の末尾に
as const
とつけると、readonlyかつ
リテラル型
で書いたのと同じ意味になる。
https://typescriptbook.jp/reference/values-types-variables/const-assertion