Ok, found the problem. `compartment.js` was referring to `genericVector.ts`, not `GenericVector.ts`. Fixing that solves the problem.

I'll update the PR.