File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
denops/@denops-private/testdata Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- import type { Denops } from "https://deno.land/x/denops_core@v6.0.5 /mod.ts" ;
1
+ import type { Entrypoint } from "https://deno.land/x/denops_core@v6.1.0 /mod.ts" ;
2
2
3
- export function main ( _denops : Denops ) : Promise < void > {
3
+ export const main : Entrypoint = ( _denops ) = > {
4
4
throw new Error ( "This is dummy error" ) ;
5
- }
5
+ } ;
Original file line number Diff line number Diff line change 1
- import type { Denops } from "https://deno.land/x/denops_core@v6.0.5 /mod.ts" ;
1
+ import type { Entrypoint } from "https://deno.land/x/denops_core@v6.1.0 /mod.ts" ;
2
2
3
- export async function main ( denops : Denops ) : Promise < void > {
3
+ export const main : Entrypoint = async ( denops ) = > {
4
4
denops . dispatcher = {
5
5
test : async ( ...args ) => {
6
6
await denops . cmd ( `echo 'This is test call: ${ JSON . stringify ( args ) } '` ) ;
7
7
} ,
8
8
} ;
9
9
await denops . cmd ( "echo 'Hello, Denops!'" ) ;
10
- }
10
+ } ;
You can’t perform that action at this time.
0 commit comments