Typescript function (7/26)

Typescript function