Fixed build error
This commit is contained in:
parent
6153ecff4a
commit
b78c2569f7
3 changed files with 6 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"sass": "^1.14.1",
|
"sass": "^1.14.1",
|
||||||
"sha256": "^0.2.0",
|
"sha256": "^0.2.0",
|
||||||
"ttypescript": "^1.5.5",
|
"ttypescript": "1.5.5",
|
||||||
"typescript": "^3.1.1",
|
"typescript": "^3.1.1",
|
||||||
"wat2wasm": "^1.0.2"
|
"wat2wasm": "^1.0.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,7 @@ source "${BASEDIR}/../scripts/resolve_commands.sh"
|
||||||
cd "$BASEDIR/dtsgen"
|
cd "$BASEDIR/dtsgen"
|
||||||
|
|
||||||
execute_tsc -p tsconfig.json
|
execute_tsc -p tsconfig.json
|
||||||
if [ $? -ne 0 ]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "Failed to build typescript declaration generator"
|
echo "Failed to build typescript declaration generator"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -3,10 +3,12 @@
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["es6"],
|
"lib": ["es6", "dom"],
|
||||||
|
|
||||||
|
/*
|
||||||
"typeRoots": [],
|
"typeRoots": [],
|
||||||
"types": []
|
"types": [],
|
||||||
|
*/
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"declarator.ts",
|
"declarator.ts",
|
||||||
|
|
Loading…
Add table
Reference in a new issue