mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-29 20:25:58 +00:00
Make dev environment happy again
This commit is contained in:
parent
e0f9d3a624
commit
b6b7cc5517
6
package-lock.json
generated
6
package-lock.json
generated
@ -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": {
|
||||
|
@ -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",
|
||||
|
@ -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) {
|
||||
|
@ -121,6 +121,7 @@ module.exports = function () {
|
||||
config.devServer = {
|
||||
contentBase: './web/public',
|
||||
historyApiFallback: true,
|
||||
disableHostCheck: true,
|
||||
quiet: true,
|
||||
stats: 'minimal',
|
||||
proxy: {
|
||||
|
Loading…
Reference in New Issue
Block a user