So - as well as being great for declaring configuration objects, as const can also be used in a pinch to narrow something down to its literal value in a function return.
Liked this? You'll love my TypeScript course, coming out in just a few weeks:
totaltypescript.com
Liked this? You'll love my TypeScript course, coming out in just a few weeks:
totaltypescript.com
Loading suggestions...