Collection framework for TypeScript