rx.js: fixed --noImplicitAny errors