TypeScript samples