Make dev environment happy again

This commit is contained in:
turt2live 2017-06-25 22:07:41 -06:00
parent e0f9d3a624
commit b6b7cc5517
4 changed files with 6 additions and 5 deletions

6
package-lock.json generated
View File

@ -7007,9 +7007,9 @@
"integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA="
},
"typescript": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.3.4.tgz",
"integrity": "sha1-PTgyGCgjHkNPKHUUlZw3qCtin0I=",
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.0.tgz",
"integrity": "sha1-rvWo1AS+ujatM5q/B53d3/+6ht0=",
"dev": true
},
"uglify-js": {

View File

@ -80,7 +80,7 @@
"ts-helpers": "^1.1.2",
"tslint": "^5.4.3",
"tslint-loader": "^3.4.3",
"typescript": "^2.3.4",
"typescript": "^2.4.0",
"url-loader": "^0.5.8",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.5.0",

View File

@ -40,7 +40,7 @@ export class ScalarService {
this.callAction("close_scalar", {});
}
private callAction(action, payload) {
private callAction(action, payload): Promise<any> {
let requestKey = randomString({length: 20});
return new Promise((resolve, reject) => {
if (!window.opener) {

View File

@ -121,6 +121,7 @@ module.exports = function () {
config.devServer = {
contentBase: './web/public',
historyApiFallback: true,
disableHostCheck: true,
quiet: true,
stats: 'minimal',
proxy: {