Skip to content

Commit

Permalink
Change callback type
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Sep 17, 2023
1 parent c57850e commit 81fa31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/dpp/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type ActionArguments<Params extends BaseActionParams> = {

export type ActionCallback<Params extends BaseExtParams> = (
args: ActionArguments<Params>,
) => unknown;
) => undefined | unknown;

export type Actions<Params extends BaseActionParams> = Record<
ActionName,
Expand Down

0 comments on commit 81fa31e

Please sign in to comment.