summaryrefslogtreecommitdiff
path: root/packages/client/src/widgets/widget.ts
diff options
context:
space:
mode:
authorAndreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>2022-05-25 09:43:12 +0200
committerGitHub <noreply@github.com>2022-05-25 16:43:12 +0900
commitb049633db7bc39b3fc75f30990d0e8d17f077ec5 (patch)
tree2b538c5e42363beb42081fe4510f82328ce5f7eb /packages/client/src/widgets/widget.ts
parentrefactor(client): refactor admin/other-settings to use Composition API (#8667) (diff)
downloadsharkey-b049633db7bc39b3fc75f30990d0e8d17f077ec5.tar.gz
sharkey-b049633db7bc39b3fc75f30990d0e8d17f077ec5.tar.bz2
sharkey-b049633db7bc39b3fc75f30990d0e8d17f077ec5.zip
Refactor widgets and fix lint issues (#8719)
* fix(client): refactor widgets and fix lint issues * Apply review suggestions from @Johann150 Co-authored-by: Johann150 <johann@qwertqwefsday.eu> Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Diffstat (limited to 'packages/client/src/widgets/widget.ts')
-rw-r--r--packages/client/src/widgets/widget.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/widgets/widget.ts b/packages/client/src/widgets/widget.ts
index 81239bfb3b..db164c2bc3 100644
--- a/packages/client/src/widgets/widget.ts
+++ b/packages/client/src/widgets/widget.ts
@@ -13,7 +13,7 @@ export type WidgetComponentProps<P extends Record<string, unknown>> = {
};
export type WidgetComponentEmits<P extends Record<string, unknown>> = {
- (e: 'updateProps', props: P);
+ (ev: 'updateProps', props: P);
};
export type WidgetComponentExpose = {