Q69: How does TypeScript type Well-Known JavaScript Symbols (`Symbol.iterator`, `Symbol.hasInstance`)?
TypeScript ships with built-in ambient interface declarations matching standard ECMAScript symbol protocols, allowing type checks on custom iterators ([Symbol.iterator]()).
Key Takeaways
Enables type checking when implementing custom iterable objects.