notes in progress
add jasmine ts definitions
try converting tests to TS
fix typo
fix a few remaining ts compilation errors
fix bug when data is falsy
run `grunt`