Typescript function (2/26)

Typescript function