author | handle | source | date |
---|---|---|---|
Minko Gechev (@[email protected]) |
@mgechev |
2021-11-22 05:30:05 UTC |
Minko Gechev (@[email protected]) (@mgechev) - November 22, 2021 at 1:30 PM
TypeScript tip: use as const
after literals to:
‣ Recursively set object properties to readonly
‣ Make arrays readonly tuples
‣ Disable type widening pic.twitter.com/uDjNeUnK2U