Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
description: item.documentation,
descriptionMarkdown: item.documentation,
};
if (item._returnDetail) {
completion.leftLabel = item._returnDetail;
}
if (item._parametersDetail) {
completion.rightLabel = item._parametersDetail;
}
return completion;
}
}
FlowAutocompleteAdapter.canAdapt = AutocompleteAdapter.canAdapt;
FlowAutocompleteAdapter.completionKindToSuggestionType =
AutocompleteAdapter.completionKindToSuggestionType;
FlowAutocompleteAdapter.requestToTextDocumentPositionParams =
AutocompleteAdapter.requestToTextDocumentPositionParams;
FlowAutocompleteAdapter.applyTextEditToSuggestion =
AutocompleteAdapter.applyTextEditToSuggestion;
module.exports = FlowAutocompleteAdapter;