as const is a const assertion that tells TypeScript to infer the most specific (literal), deeply readonly type for a value, instead of widening it.
ts
a = ;
obj = { : };
arr = [, ];
b = ;
obj2 = { : } ;
arr2 = [, ] ;
