DOM element helpers typings by wclr · Pull Request #601 · cyclejs/cyclejs
Great initiative @whitecolor ! Keep on going with this please :)
Eventually it would be good to put this in snabbdom, but Cycle.js has a unique hyperscript helper, so it makes sense to do what you're doing now.
I'd also recommend writing some tests (they are in TypeScript nowadays) before implementing everything. It doesn't need to be full TDD, but just a few tests so we know what is the goal API that we want to get.