addMarker added to ts defs (#968)