Nintendo strongly recommends against using third-party Switch chargers. But there's never been a confirmed report of any working charger damaging a Switch console, no matter whether it's third-party or not. There's nothing special about the Nintendo Switch that makes it dangerous to use unofficial chargers, so feel free to use your favorite USB-C charger.