mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Support async onSettingsChange
This commit is contained in:
parent
51b66ea7cb
commit
24a792404c
3 changed files with 5 additions and 5 deletions
|
@ -5,5 +5,5 @@ export interface PluginSettingsManager {
|
|||
|
||||
setSetting: (name: string, value: string) => Promise<any>
|
||||
|
||||
onSettingsChange: (cb: (names: string[]) => void) => void
|
||||
onSettingsChange: (cb: (names: string[]) => Promise<any>) => void
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue