File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ import * as fn from "https://deno.land/x/denops_std@$MODULE_VERSION/function/mod
22
22
import * as vars from " https://deno.land/x/denops_std@$MODULE_VERSION/variable/mod.ts" ;
23
23
import * as helper from " https://deno.land/x/denops_std@$MODULE_VERSION/helper/mod.ts" ;
24
24
25
- import { assert , is } from " https://deno.land/x/unknownutil@v3.11.0 /mod.ts" ;
25
+ import { assert , is } from " https://deno.land/x/unknownutil@v3.14.1 /mod.ts" ;
26
26
27
- export async function main(denops : Denops ): Promise < void > {
27
+ export function main(denops : Denops ): void {
28
28
denops .dispatcher = {
29
- async init(): Promise < void > {
29
+ async init() {
30
30
// This is just an example. Developers usually should define commands directly in Vim script.
31
31
await batch .batch (denops , async (denops ) => {
32
32
await denops .cmd (
@@ -37,7 +37,7 @@ export async function main(denops: Denops): Promise<void> {
37
37
);
38
38
});
39
39
},
40
- async say(where : unknown ) : Promise < void > {
40
+ async say(where ) {
41
41
assert (where , is .String );
42
42
const [name, progname] = await batch .collect (denops , (denops ) => [
43
43
fn .input (denops , " Your name: " ),
Original file line number Diff line number Diff line change 13
13
* import * as vars from "https://deno.land/x/denops_std@$MODULE_VERSION/variable/mod.ts";
14
14
* import * as helper from "https://deno.land/x/denops_std@$MODULE_VERSION/helper/mod.ts";
15
15
*
16
- * import { assert, is } from "https://deno.land/x/unknownutil@v3.11.0 /mod.ts";
16
+ * import { assert, is } from "https://deno.land/x/unknownutil@v3.14.1 /mod.ts";
17
17
*
18
- * export async function main(denops: Denops): Promise< void> {
18
+ * export function main(denops: Denops): void {
19
19
* denops.dispatcher = {
20
- * async init(): Promise<void> {
20
+ * async init() {
21
21
* // This is just an example. Developers usually should define commands directly in Vim script.
22
22
* await batch.batch(denops, async (denops) => {
23
23
* await denops.cmd(
28
28
* );
29
29
* });
30
30
* },
31
- * async say(where: unknown): Promise<void> {
31
+ * async say(where) {
32
32
* assert(where, is.String);
33
33
* const [name, progname] = await batch.collect(denops, (denops) => [
34
34
* fn.input(denops, "Your name: "),
You can’t perform that action at this time.
0 commit comments