diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 2e4abfc9e..dcbeaa403 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -111,6 +111,7 @@ const tsBaseArgs = { noImplicitReturns: true, noFallthroughCasesInSwitch: true, strict: true, + strictPropertyInitialization: false, outDir: "build/src/", noImplicitAny: true, allowJs: true, @@ -303,7 +304,7 @@ function readContentsBuffer(file, cb) { if (!Buffer.isBuffer(chunk)) { throw Error("stream data must be a buffer"); } - chunks.push(chunk); + chunks.pus(chunk); }); file.contents.on("end", function (chunk) { cb(Buffer.concat(chunks)); |