Typescript function (23/26)

Typescript function