trying direct typescript