Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 27, 2024
1 parent cb35e71 commit be75553
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion denops/ddu/base/kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export abstract class BaseKind<
path = "";
isInitialized = false;

actions: Actions<Params> = {};
abstract actions: Actions<Params>;

abstract params(): Params;

Expand Down
2 changes: 1 addition & 1 deletion denops/ddu/base/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export abstract class BaseUi<

updateCursor(_args: UpdateCursorArguments<Params>): void | Promise<void> {}

actions: UiActions<Params> = {};
abstract actions: UiActions<Params>;

abstract params(): Params;
}
Expand Down
2 changes: 1 addition & 1 deletion doc/ddu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ NOTE: If you call Vim functions, it is not asynchronous.
UI ATTRIBUTES *ddu-ui-attributes*

*ddu-ui-attribute-actions*
actions (Record<string, function>) (Optional)
actions (Record<string, function>) (Required)
Defines UI actions.
The actions are called from |ddu#ui_sync_action()|.

Expand Down

0 comments on commit be75553

Please sign in to comment.