diff --git a/src/config.js b/src/config.js index ea50fb122..6018c5dc0 100644 --- a/src/config.js +++ b/src/config.js @@ -3,7 +3,6 @@ /* * decaffeinate suggestions: * DS101: Remove unnecessary use of Array.from - * DS103: Rewrite code to no longer use __guard__ * DS207: Consider shorter variations of null checks * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ @@ -1602,7 +1601,3 @@ var withoutEmptyObjects = function (object) { } return resultObject } - -function __guard__ (value, transform) { - return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined -}