Activator Closure dependencies ported to TypeScript