Typescript function (24/26)

Typescript function