Fixed build error

canary
WolverinDEV 2019-03-19 21:15:15 +01:00
parent 6153ecff4a
commit b78c2569f7
3 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,7 @@
"gulp": "^3.9.1",
"sass": "^1.14.1",
"sha256": "^0.2.0",
"ttypescript": "^1.5.5",
"ttypescript": "1.5.5",
"typescript": "^3.1.1",
"wat2wasm": "^1.0.2"
},

View File

@ -5,7 +5,7 @@ source "${BASEDIR}/../scripts/resolve_commands.sh"
cd "$BASEDIR/dtsgen"
execute_tsc -p tsconfig.json
if [ $? -ne 0 ]; then
if [[ $? -ne 0 ]]; then
echo "Failed to build typescript declaration generator"
exit 1
fi

View File

@ -3,10 +3,12 @@
"baseUrl": ".",
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6"],
"lib": ["es6", "dom"],
/*
"typeRoots": [],
"types": []
"types": [],
*/
},
"files": [
"declarator.ts",