Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/mod.ts>Entrypoint

📚 Standard module for denops.vim
Latest
type alias Entrypoint
import { type Entrypoint } from "https://deno.land/x/denops_std@v6.5.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.5.0/mod.ts";

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