1
0
Fork 0
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:
Chocobozzz 2021-04-20 16:02:15 +02:00
parent 51b66ea7cb
commit 24a792404c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 5 additions and 5 deletions

View file

@ -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
}