fix(core): update

This commit is contained in:
2019-08-26 16:28:03 +02:00
parent dbcfa977fd
commit 6b1c7c4dc8
10 changed files with 103 additions and 68 deletions

View File

@ -9,7 +9,7 @@ export * from './tsbuild.classes.compiler';
export let compileFileArray = (
fileStringArrayArg: string[],
compilerOptionsArg: CompilerOptions = {},
argvArg?: any,
argvArg?: any
): Promise<any[]> => {
return compiler(fileStringArrayArg, mergeCompilerOptions(compilerOptionsArg, argvArg), argvArg);
};
@ -25,11 +25,11 @@ export let compileGlobStringObject = async (
globStringObjectArg: any,
tsOptionsArg: CompilerOptions = {},
cwdArg: string = process.cwd(),
argvArg?: any,
argvArg?: any
) => {
let compiledFiles = [];
for (const keyArg in globStringObjectArg) {
if(globStringObjectArg[keyArg]) {
if (globStringObjectArg[keyArg]) {
console.log(
`TypeScript assignment: transpile from ${keyArg} to ${globStringObjectArg[keyArg]}`
);