aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/types
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 14:42:53 +0200
committerChocobozzz <me@florianbigard.com>2021-08-18 08:35:06 +0200
commit9df52d660feb722404be00a50f3c8a612bec1c15 (patch)
treedde52880fa012874d24c60f64eb596b0a789cc8b /client/src/types
parentadb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff)
downloadPeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz
PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst
PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip
Migrate client to eslint
Diffstat (limited to 'client/src/types')
-rw-r--r--client/src/types/register-client-option.model.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts
index 59bcbc5ff..3415ef08f 100644
--- a/client/src/types/register-client-option.model.ts
+++ b/client/src/types/register-client-option.model.ts
@@ -30,16 +30,16 @@ export type RegisterClientHelpers = {
30 getServerConfig: () => Promise<ServerConfig> 30 getServerConfig: () => Promise<ServerConfig>
31 31
32 notifier: { 32 notifier: {
33 info: (text: string, title?: string, timeout?: number) => void, 33 info: (text: string, title?: string, timeout?: number) => void
34 error: (text: string, title?: string, timeout?: number) => void, 34 error: (text: string, title?: string, timeout?: number) => void
35 success: (text: string, title?: string, timeout?: number) => void 35 success: (text: string, title?: string, timeout?: number) => void
36 } 36 }
37 37
38 showModal: (input: { 38 showModal: (input: {
39 title: string, 39 title: string
40 content: string, 40 content: string
41 close?: boolean, 41 close?: boolean
42 cancel?: { value: string, action?: () => void }, 42 cancel?: { value: string, action?: () => void }
43 confirm?: { value: string, action?: () => void } 43 confirm?: { value: string, action?: () => void }
44 }) => void 44 }) => void
45 45