Por ahora, esta lección está en inglés.
Teach TypeScript your own checks
typeof and in cover simple cases. Proving that an unknown value is really a Post takes several lines, and you want to reuse that proof everywhere, with full narrowing.
Por ahora, esta lección está en inglés.
typeof and in cover simple cases. Proving that an unknown value is really a Post takes several lines, and you want to reuse that proof everywhere, with full narrowing.