Skip to main content
Module

x/denops_core/mod.ts>Entrypoint

🪐 Core module of denops.vim
Latest
type alias Entrypoint
import { type Entrypoint } from "https://deno.land/x/denops_core@v6.1.0/mod.ts";

Denops's entrypoint definition.

Use this type to ensure the main function is properly implemented like

import type { Entrypoint } from "https://deno.land/x/denops_core@v6.1.0/mod.ts";

export const main: Entrypoint = (denops) => {
  // ...
}
definition: (denops: Denops) => void | Promise<void>