update heart bindings for new TypeScript version