Typescript Type Of Function In Trigonometry