You've misread the article. It implies no such thing.
The first point is that the type system can prove some functions and properties correct. For these, you don't need tests--no questions there. This doesn't mean you never need tests, but it does mean a type system can replace several kinds of tests completely.
If you can actually prove something with the type system, this is strictly better than using tests and tests are unnecessary there.
It also doesn't mean the type system will magically stop all bugs. Rather, it means the type system will stop all possible bugs of a particular sort. Which is very valuable.
The second half of the article has nothing to do with types. It is an example of where tests are insufficient. A reasonable and practical example, at that. It's completely contradictory to what you claim the article says: the whole section is about something neither types nor tests can catch!
It's all best summed up with the final line:
> TDD can be useful. Types can be useful. Analysis is necessary.
I'm not sure how you can read this as "tests + types produce bug free code" because it clearly says that they're insufficient.