From 832664b667b6e7363c5a5ca4a70563d9649360a5 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 14 Mar 2022 21:46:41 +0100 Subject: [PATCH] fix(core): update --- package.json | 2 +- ts/tsbuild.classes.compiler.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bdf9075..7a3fd92 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "test": "tsrun test/test.ts", "testCustom": "node cli.ts.js custom ts_web", - "build": "node cli.ts.js --web" + "build": "node cli.ts.js --web --allowimplicitany" }, "repository": { "type": "git", diff --git a/ts/tsbuild.classes.compiler.ts b/ts/tsbuild.classes.compiler.ts index 2510f6b..185ce1b 100644 --- a/ts/tsbuild.classes.compiler.ts +++ b/ts/tsbuild.classes.compiler.ts @@ -49,6 +49,9 @@ export const mergeCompilerOptions = ( ...argvArg && argvArg.skiplibcheck ? { skipLibCheck: true } : {}, + ...argvArg && argvArg.allowimplicitany ? { + noImplicitAny: false + } : {}, }; return mergedOptions;