TypeScript examples