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;