From f253fef5c6a58055f3e550b40ba26a47733ac30b Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Fri, 23 Mar 2018 10:43:42 -0400 Subject: [PATCH] Explicitly make `onDestroy` have `void` return type --- js/models/messages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/models/messages.js b/js/models/messages.js index 1022c14280fe..62455799439b 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -148,6 +148,7 @@ this.revokeImageUrl(); const attachments = this.get('attachments'); await Promise.all(attachments.map(deleteAttachmentData)); + return; }, /* jshint ignore:end */ /* eslint-disable */