Typescript Interface Function Multiple Representations Of Equations