From 32deb35fecf364f5f2d662ab724fda94bb626547 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sun, 24 May 2020 19:43:13 +0200 Subject: [PATCH] fix --- lib/snippets/copyright/file_mapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/snippets/copyright/file_mapper.ts b/lib/snippets/copyright/file_mapper.ts index 5aa294f..a632820 100644 --- a/lib/snippets/copyright/file_mapper.ts +++ b/lib/snippets/copyright/file_mapper.ts @@ -12,7 +12,7 @@ import fs from 'fs-extra'; export class FileMapper { public static async map_all_files ( folder: string, - mutator: Function, + mutator: (data: string, file: string, args: Array) => string|null, args: Array = [] ): Promise { const files = await fs.readdir (folder);