-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose types for plugin's main function #336
Comments
Actually, I usually prefer ordinal What we need to updates are
|
Moreover, I believe there are more suitable names than "PluginMain" for the following reasons:
Considering the aforementioned points, I suggest "Entrypoint" as the type name. What are your thoughts? |
Very good. I agree. |
Now import type { Entrypoint } from "https://deno.land/x/[email protected]/mod.ts";
export const main: Entrypoint = (denops) => {
// ...
}; |
Exposes the type
PluginMain
for the plugin's main function.Update the way to define the main function of the plugin as follows:
There is a discussion in #332 about extending the definition of the plugin's main function.
The text was updated successfully, but these errors were encountered: