I have a 2018 Switch and it works well with all chargers I've tested so far (mostly Apple and Lenovo besides the one that came with the Swift). My guess is that the problems that existed in the original hardware were fixed in a subsequent hardware revision.
Maybe the problems were fixed, but not by the time mine was ordered from Amazon on 8 December 2018. It charged fine with an Anker and Apple charger for, well, until it went pop this July. I'm glad yours is working fine, and it does come with a two-year warranty, but this was considered damage. From Nintendo's repair service:
> Our engineers have inspected your Switch Console and found damage due to USB-C Connector Damage. Under our warranty policy we do not cover the cost of the repair for damaged items. A payment of £53.50 is required for us to complete the repair.