Typescript sample