Fixed build error
parent
6153ecff4a
commit
b78c2569f7
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
"baseUrl": ".",
|
||||
"moduleResolution": "node",
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"lib": ["es6", "dom"],
|
||||
|
||||
/*
|
||||
"typeRoots": [],
|
||||
"types": []
|
||||
"types": [],
|
||||
*/
|
||||
},
|
||||
"files": [
|
||||
"declarator.ts",
|
||||
|
|
Loading…
Reference in New Issue