JavaScript yass rewritten in TypeScript