7/6/2021
•
EN
TypeScript: Array.includes on narrow types
Explains a TypeScript type narrowing issue with Array.includes when using const assertions and how to work around it.