Was this applied in a later software update? I distinctly recall using my Thinkpad's charger with my Switch, prior to giving it to a friend.
edit: Keep in mind that a charger meant for a phone is unlikely to provide anywhere enough power for the Switch. You likely need a charger that implements at least USB-C PD.