The Switch may or may not freak out in the face of arbitrary USB-C chargers; but it's always supported Apple's USB-C chargers just fine. (I get the sense that Nintendo developed the console by relying on Apple USB-C chargers, until they made their own.)