Typescript function (8/26)

Typescript function