Typescript function (20/26)

Typescript function