|
|
@@ -15,7 +15,7 @@
|
|
|
// limitations under the License.
|
|
|
|
|
|
import { simplePostAsync } from 'api/apiUtils';
|
|
|
-import { AUTOCOMPLETE_API_PREFIX, DESCRIBE_API_PREFIX } from 'api/urls';
|
|
|
+import { AUTOCOMPLETE_API_PREFIX } from 'api/urls';
|
|
|
import { UdfArgument, UdfDetails } from 'sql/reference/types';
|
|
|
import { Connector } from 'types';
|
|
|
import I18n from 'utils/i18n';
|
|
|
@@ -81,7 +81,7 @@ export const extractArgumentTypes = (apiUdf: ApiUdf): UdfArgument[][] => {
|
|
|
return DEFAULT_ARGUMENTS;
|
|
|
};
|
|
|
|
|
|
-export const mergeArgumentTypes = (target: UdfArgument[][], additional: UdfArgument[][]) => {
|
|
|
+export const mergeArgumentTypes = (target: UdfArgument[][], additional: UdfArgument[][]): void => {
|
|
|
for (let i = 0; i < target.length; i++) {
|
|
|
if (i >= additional.length) {
|
|
|
break;
|