Overview
The TypeScript standards: rules for TypeScript.
- Always Add Explicit Types - annotate every binding and return type
- Barrel Imports - import another folder's symbols through its barrel, and a same-folder file directly
- No Magic Values - hoist literals into consts, and use the
as constandEnum<T>pattern, neverenum - One Artifact Per File - one type, const or class per file