pull/5100/head
Stéphane Tetsing 2 months ago
parent 0e9aa7336d
commit 20c0863d39
  1. 8
      libs/remix-ui/editor/src/lib/providers/inlineCompletionProvider.ts

@ -1,11 +1,5 @@
/* eslint-disable no-control-regex */ /* eslint-disable no-control-regex */
import { EditorUIProps, monacoTypes } from '@remix-ui/editor'; import { EditorUIProps, monacoTypes } from '@remix-ui/editor';
import { CompletionTimeout } from './completionTimer';
import axios, { AxiosResponse } from 'axios'
import { slice } from 'lodash';
import { activateService } from '@remixproject/plugin-utils';
import { any } from 'async';
const _paq = (window._paq = window._paq || []) const _paq = (window._paq = window._paq || [])
export class RemixInLineCompletionProvider implements monacoTypes.languages.InlineCompletionsProvider { export class RemixInLineCompletionProvider implements monacoTypes.languages.InlineCompletionsProvider {
@ -23,7 +17,7 @@ export class RemixInLineCompletionProvider implements monacoTypes.languages.Inli
this.completionEnabled = true this.completionEnabled = true
this.currentCompletion = { this.currentCompletion = {
text: '', text: '',
item: any, item: [],
task : this.task, task : this.task,
displayed: false, displayed: false,
accepted: false accepted: false

Loading…
Cancel
Save