From c051139c0fd0a0b1d3f292cc3db0d806a8208369 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 21 Jun 2018 15:50:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fixing=20tsconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/getFileContents.ts | 2 +- tsconfig.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/getFileContents.ts b/src/getFileContents.ts index 7270aa8..d8bfc1d 100644 --- a/src/getFileContents.ts +++ b/src/getFileContents.ts @@ -18,7 +18,7 @@ export const getFileContents: () => Promise = () => new Promise((resolve const chunkList: Buffer[] = []; let totalLength = 0; - response.on('data', (chunk) => { + response.on('data', (chunk: Buffer) => { console.log(`BODY: ${chunk.length}`); chunkList.push(chunk); totalLength += chunk.length; diff --git a/tsconfig.json b/tsconfig.json index 358f9e7..3ab5f06 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - //settings: "baseUrl": ".", "inlineSourceMap": true, "module": "commonjs",