diff --git a/developer/js/source/index.ts b/developer/js/source/index.ts index 5ef9ea5c5f..a3d26aadb0 100644 --- a/developer/js/source/index.ts +++ b/developer/js/source/index.ts @@ -182,6 +182,8 @@ export default class LexicalModelCompiler { set_model_metadata('sourcePath', [groupPath, authorPath, bcp47Path].join('/')); fs.writeFileSync(modelInfoFileName, JSON.stringify(model_info, null, 2)); + + return true; }; /** diff --git a/developer/js/tsconfig.json b/developer/js/tsconfig.json index 055a956c44..95daf1fe1c 100644 --- a/developer/js/tsconfig.json +++ b/developer/js/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { - "target": "es2017", "module": "commonjs", - "outDir": "dist", + "target": "es2017", + "noImplicitReturns": true, + "moduleResolution": "node", "sourceMap": true, + "outDir": "dist", "declaration": true }, "include": [