"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFixOrSuggest = getFixOrSuggest;
function getFixOrSuggest({ fixOrSuggest, suggestion, }) {
    switch (fixOrSuggest) {
        case 'fix':
            return { fix: suggestion.fix };
        case 'none':
            return undefined;
        case 'suggest':
            return { suggest: [suggestion] };
    }
}
