new and updated ts defs
add mousetrap dependency and todo
fix tslint warnings
add note