TSLint compliance

This commit is contained in:
hensm
2019-03-19 16:30:37 +00:00
parent 38f9db8e7b
commit 0449e3cdf3
5 changed files with 12 additions and 3 deletions

View File

@@ -117,7 +117,9 @@ export default class Media {
case "shim:/media/sendMediaMessageResponse": {
const { messageId, error } = message.data;
const [ successCallback, errorCallback ]
= _sendMediaMessageCallbacks.get(this).get(messageId);
= _sendMediaMessageCallbacks
.get(this)
.get(messageId);
if (error && errorCallback) {
errorCallback(new _Error(ErrorCode.SESSION_ERROR));