Update `KeyPair.getPublic` overloads (#36098)
Update `KeyPair.getPublic` overloads (#36098)

Had some bad overload definitions get through without me realizing.
georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,mcliment/DefinitelyTyped