From 5e370f4d3662d228e50b2b7aff808907e353cf17 Mon Sep 17 00:00:00 2001 From: bvanmastrigt <32588275+bvanmastrigt@users.noreply.github.com> Date: Tue, 16 Apr 2019 09:39:22 +0200 Subject: [PATCH] Update index.ts Fix for error: Callback must be a function --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index d6e8f6e..d5b4b63 100644 --- a/index.ts +++ b/index.ts @@ -107,7 +107,7 @@ export function execute(typeScriptResourcesNamespace: string, virtualResxFolder: mkpath.sync(projectRoot + virtualTypeScriptFolder, '0700'); - fs.writeFileSync(outputFileName, content, null); + fs.writeFileSync(outputFileName, content, function () {}); addTypeScriptFile.execute(relativeOutputFileName); }