Add likes to topic list view

I had a theme component that added likes to the topic list view (or so I think). It broke when I upgraded today. This is what used to work in Head:

<script>
var TopicListComponent = require('discourse/components/topic-list').default;
TopicListComponent.reopen({
    showLikes: true
});
</script>

Looks like this is the solution now:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.