Por enquanto, esta lição está em 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 enquanto, esta lição está em 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.