for typescript