TypeScript worker