Browse Source

add alias for Item as DdcItem.

pull/18/head
KUDO Shunsuke 2 years ago
parent
commit
2245f29ac0
  1. 4
      denops/@ddc-sources/vim-lsp.ts

4
denops/@ddc-sources/vim-lsp.ts

@ -1,7 +1,7 @@
import {
BaseSource,
Item,
DdcGatherItems,
Item as DdcItem,
} from "https://deno.land/x/ddc_vim@v3.2.0/types.ts#^";
import {
@ -33,7 +33,7 @@ export class Source extends BaseSource<Params> {
const [payload] = await Promise.all([
args.onCallback(id) as Promise<{
items: Item[];
items: DdcItem[];
isIncomplete: boolean;
}>,
args.denops.call("ddc_vim_lsp#request", lspservers[0], id),

Loading…
Cancel
Save