filled out typescript definition of peer-connection