Typescript Define Object With Functions Of Proteins