Give access to the config objet to the subtitles for future changes.

This commit is contained in:
Godzil
2018-07-14 20:40:08 +01:00
parent f10bead0dc
commit 6c2100fbff
4 changed files with 9 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
interface IFormatterTable {
[key: string]: (input: string|Buffer, done: (err: Error, subtitle?: string) => void) => void;
[key: string]: (config: IConfig, input: string|Buffer, done: (err: Error, subtitle?: string) => void) => void;
}