update types

This commit is contained in:
Georgy Berezhnoy 2021-09-16 17:04:05 +03:00
parent 792eea612e
commit 047a88e9b8
No known key found for this signature in database
GPG key ID: F72152EC600B4FAE

View file

@ -274,8 +274,8 @@ export default class Tools extends Module {
* @param config - tools config
*/
private getListOfPrepareFunctions(config: {[name: string]: ToolSettings}): {
function: (data: { toolName: string }) => void | Promise<void>;
data: { toolName: string };
function: (data: { toolName: string; config: ToolConfig }) => void | Promise<void>;
data: { toolName: string; config: ToolConfig };
}[] {
const toolPreparationList: {
function: (data: { toolName: string }) => void | Promise<void>;